docs: fixed multiple typos, updated latest en.json strings (#371) [skip ci]

This commit is contained in:
ecelebi29
2020-12-18 14:45:31 +03:00
committed by GitHub
parent 6beac736ef
commit 36b2b4fba4
6 changed files with 11 additions and 12 deletions

View File

@@ -40,7 +40,7 @@ export const isAuthenticated = (
if (!req.user || !req.user.hasPermission(permissions ?? 0)) {
res.status(403).json({
status: 403,
error: 'You do not have permisson to access this endpoint',
error: 'You do not have permission to access this endpoint',
});
} else {
next();