Skip to content

Commit 9c40c52

Browse files
Disable auth for post /challengesettings
1 parent b93bf5b commit 9c40c52

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/routes.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,10 @@ module.exports = {
139139
},
140140
post: {
141141
controller: 'ChallengeSettingController',
142-
method: 'createChallengeSetting',
143-
auth: 'jwt',
144-
access: [constants.UserRoles.Admin, constants.UserRoles.Copilot],
145-
scopes: [CHALLENGE_SETTINGS.CREATE, CHALLENGE_SETTINGS.ALL]
142+
method: 'createChallengeSetting'
143+
// auth: 'jwt',
144+
// access: [constants.UserRoles.Admin, constants.UserRoles.Copilot],
145+
// scopes: [CHALLENGE_SETTINGS.CREATE, CHALLENGE_SETTINGS.ALL]
146146
}
147147
},
148148
'/challengeSettings/:challengeSettingId': {

0 commit comments

Comments
 (0)