소스 검색

Minor change to status response

pull/47/head^2
Djordje Djoric 3 년 전
부모
커밋
cf4fb366f6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      src/middleware/auth.js

+ 1
- 1
src/middleware/auth.js 파일 보기

@@ -30,7 +30,7 @@ const authRole = async (req, res, next) => {
next()
}
else {
return res.status(401).send('Not authorized!')
return res.status(403).send('Access forbidden!')
}
} catch(e) {
next(e)

Loading…
취소
저장