ソースを参照

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)

読み込み中…
キャンセル
保存