HTTP code

develop
sundowndev 2018-11-16 17:32:18 +01:00
parent ade50cb248
commit 1f9bca6641
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ module.exports = (req, res, next) => {
}, (QueryError, count) => { }, (QueryError, count) => {
if (count !== 1) { if (count !== 1) {
return next({ return next({
status: 403, status: 401,
message: 'Your session is invalid. Please try sign in again.', message: 'Your session is invalid. Please try sign in again.',
error: [], error: [],
}); });