fix typos
This commit is contained in:
1 parent
9f43336a03
commit
792b51b488
5 files changed
+8
-9
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user