This website works better with JavaScript.
Ana Sayfa
Keşfet
Yardım
Üye Ol
Giriş Yap
stefan.stamenovic
/
diligent-node-api
İzle
2
Yıldızla
0
Çatalla
0
Kod
Sorunlar
0
Değişiklik İstekleri
0
Sürümler
0
Wiki
Aktivite
Kaynağa Gözat
Minor change to status response
pull/47/head^2
Djordje Djoric
4 yıl önce
ebeveyn
0c78033191
işleme
cf4fb366f6
1 değiştirilmiş dosya
ile
1 ekleme
ve
1 silme
Görünümü Böl
Farklılık Durumunu Göster
1
1
src/middleware/auth.js
+ 1
- 1
src/middleware/auth.js
Dosyayı Görüntüle
@@ -30,7 +30,7 @@ const authRole = async (req, res, next) => {
next()
}
else {
return res.status(40
1).send('Not authorized
!')
return res.status(40
3).send('Access forbidden
!')
}
} catch(e) {
next(e)
Write
Preview
Loading…
İptal
Kaydet