Skip to content

Commit 0f62e98

Browse files
committed
Lint fixes
1 parent b93d721 commit 0f62e98

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/common/helper.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ async function getAllPages (url, query) {
441441
* @param {String} userId the user id
442442
* @returns {Promise<Array>} the user group ids
443443
*/
444-
async function getUserGroupIds(userId) {
444+
async function getUserGroupIds (userId) {
445445
const url = config.GROUPS_API_URL + `/memberGroups/${userId}`
446446
const response = await getRequest(url, { uuid: true })
447447
return response.body
@@ -452,7 +452,7 @@ async function getUserGroupIds(userId) {
452452
* @param {Object} authUser auth user
453453
* @param {Array} groups challenge.groups
454454
*/
455-
async function checkChallengeGroupAccess(authUser, groups) {
455+
async function checkChallengeGroupAccess (authUser, groups) {
456456
// allow admin user
457457
if (authUser.isMachine || hasAdminRole(authUser)) {
458458
return true

0 commit comments

Comments
 (0)