ソースを参照

Minor change to status response

pull/47/head^2
Djordje Djoric 4年前
コミット
cf4fb366f6
1個のファイルの変更1行の追加1行の削除
  1. 1
    1
      src/middleware/auth.js

+ 1
- 1
src/middleware/auth.js ファイルの表示

next() next()
} }
else { else {
return res.status(401).send('Not authorized!')
return res.status(403).send('Access forbidden!')
} }
} catch(e) { } catch(e) {
next(e) next(e)

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