diff --git a/packages/git-proxy-cli/test/testCli.test.js b/packages/git-proxy-cli/test/testCli.test.js index 5b013d35..0474bad8 100644 --- a/packages/git-proxy-cli/test/testCli.test.js +++ b/packages/git-proxy-cli/test/testCli.test.js @@ -339,7 +339,7 @@ describe('test git-proxy-cli', function () { it('attempt to authorise should fail when not authenticated (server restarted)', async function () { try { await helper.createCookiesFileWithExpiredCookie(); - await helper.startServer(service); + await helper.startServer(service); const id = pushId; const cli = `npx -- @finos/git-proxy-cli authorise --id ${id}`; const expectedExitCode = 3; @@ -381,7 +381,7 @@ describe('test git-proxy-cli', function () { } finally { await helper.closeServer(service.httpServer); } - }); + }); }); // *** cancel *** diff --git a/src/service/routes/push.js b/src/service/routes/push.js index 9957b4f3..9750375c 100644 --- a/src/service/routes/push.js +++ b/src/service/routes/push.js @@ -82,7 +82,7 @@ router.post('/:id/reject', async (req, res) => { router.post('/:id/authorise', async (req, res) => { console.log({ req }); - + const questions = req.body.params?.attestation; console.log({ questions });