Skip to content

Commit 4c27a2f

Browse files
authored
fix(_official-jokes): fix getUser (#288)
1 parent 50fe13e commit 4c27a2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_official-jokes/app/utils/session.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export async function getUser(request: Request) {
9090
});
9191

9292
if (!user) {
93-
throw logout(request);
93+
throw await logout(request);
9494
}
9595

9696
return user;

0 commit comments

Comments
 (0)