Skip to content

Commit 2c71383

Browse files
author
Sachin Maheshwari
committed
fixing lint issue.
1 parent 1577918 commit 2c71383

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ _.assignIn(util, {
114114
*/
115115
hasAdminRole: (req) => {
116116
const isMachineToken = _.get(req, 'authUser.isMachine', false);
117-
const tokenScopes = _.get(req, 'authUser.scopes', []);
117+
// const tokenScopes = _.get(req, 'authUser.scopes', []);
118118
if (isMachineToken) {
119119
// if (_.indexOf(tokenScopes, TOKEN_SCOPES.CONNECT_PROJECT_ADMIN) >= 0) return true;
120120
return true;

0 commit comments

Comments
 (0)