Skip to content

Commit ae5284c

Browse files
committed
Typo
1 parent 321bc4d commit ae5284c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app-routes.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ module.exports = (app) => {
7474
)
7575
) {
7676
next(new errors.ForbiddenError(`You are not allowed to perform this action, because the roles are incorrect. \
77-
Required scopes: ${JSON.stringify(def.access)} \
78-
Provided scopes: ${JSON.stringify(req.authUser.roles)}`));
77+
Required roles: ${JSON.stringify(def.access)} \
78+
Provided roles: ${JSON.stringify(req.authUser.roles)}`));
7979
} else {
8080
// user token is used in create/update challenge to ensure user can create/update challenge under specific project
8181
req.userToken = req.headers.authorization.split(" ")[1];

0 commit comments

Comments
 (0)