File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments