Skip to content

Commit b00927f

Browse files
committed
test: add more logging to push.ts
1 parent 80ef2ab commit b00927f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/service/routes/push.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,11 @@ router.post('/:id/authorise', async (req: Request, res: Response) => {
9595
);
9696
console.log({ attestationComplete });
9797

98+
console.log('user?', req.user);
99+
console.log('session?', req.session);
100+
console.log('cookies?', req.headers.cookie);
101+
console.log('req.isAuthenticated():', req.isAuthenticated?.());
102+
98103
if (req.user && attestationComplete) {
99104
const id = req.params.id;
100105
console.log({ id });

0 commit comments

Comments
 (0)