Skip to content

Commit

Permalink
fix readme (#295)
Browse files Browse the repository at this point in the history
  • Loading branch information
asafshen authored Nov 28, 2023
1 parent f7306d6 commit 8568121
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ const authMiddleware = async (req: Request, res: Response, next: NextFunction) =
next();
} catch (e) {
res.status(401).json({
error: new Error('Unauthorized!'),
error: 'Unauthorized!',
});
}
};
Expand Down

0 comments on commit 8568121

Please sign in to comment.