Skip to content

Commit

Permalink
Logout hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Elias-Llera committed May 9, 2023
1 parent 1bdf614 commit 666b90b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion restapi/src/services/authenticationService.ts
Original file line number Diff line number Diff line change
@@ -45,7 +45,7 @@ export default {

logout : async function(req:Request, res : Response){
const session = await getSessionFromStorage(req.session.solidSessionId!);
await session!.logout();
await session?.logout();
res.redirect("http://lomap.mariopdev.com")
},

0 comments on commit 666b90b

Please sign in to comment.