🐛 Fixed old quizzes not showing up on user-screen

This commit is contained in:
Mawoka
2023-01-29 14:42:47 +01:00
parent ac86c9e782
commit ce67ba6a0c
3 changed files with 3 additions and 3 deletions
-1
View File
@@ -27,7 +27,6 @@ export const handle: Handle = async ({ event, resolve }) => {
if (res.ok) {
event.locals.email = await res.text();
const resp = await resolve(event);
console.log(res.headers.get('set-cookie'));
try {
resp.headers.set('Set-Cookie', res.headers.get('set-cookie'));
} catch {