Skip to content

Commit

Permalink
Refactor user security route: Remove unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
Sivanwol committed Sep 14, 2024
1 parent 0611ea6 commit 8d7b3c6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export async function GET(
success: false,
});
}

// Another error occurred
logger.error(`${req.method} /api/user/security error`, { cause });
return Response.json({
Expand Down

0 comments on commit 8d7b3c6

Please sign in to comment.