fix typos

This commit is contained in:
Alex Holliday
2025-01-20 11:02:55 -08:00
parent 9f43336a03
commit 792b51b488
5 changed files with 8 additions and 9 deletions

View File

@@ -7,7 +7,7 @@ const responseHandler = (req, res, next) => {
});
};
res.error = ({ status = 500, msg = "Internal server erro", data = null }) => {
res.error = ({ status = 500, msg = "Internal server error", data = null }) => {
return res.status(status).json({
success: false,
msg,