Skip to content

Commit 81761e8

Browse files
fix lint
1 parent 533d7b2 commit 81761e8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/routes.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ module.exports = {
9292
'/challengeTimelines': {
9393
get: {
9494
controller: 'ChallengeTypeTimelineTemplateController',
95-
method: 'searchChallengeTypeTimelineTemplates',
95+
method: 'searchChallengeTypeTimelineTemplates'
9696
// auth: 'jwt',
9797
// access: [constants.UserRoles.Admin, constants.UserRoles.Copilot],
9898
// scopes: [CHALLENGE_TYPE_TIMELINE_TEMPLATES.READ, CHALLENGE_TYPE_TIMELINE_TEMPLATES.ALL]
@@ -108,10 +108,10 @@ module.exports = {
108108
'/challengeTimelines/:challengeTypeTimelineTemplateId': {
109109
get: {
110110
controller: 'ChallengeTypeTimelineTemplateController',
111-
method: 'getChallengeTypeTimelineTemplate',
112-
auth: 'jwt',
113-
access: [constants.UserRoles.Admin, constants.UserRoles.Copilot],
114-
scopes: [CHALLENGE_TYPE_TIMELINE_TEMPLATES.READ, CHALLENGE_TYPE_TIMELINE_TEMPLATES.ALL]
111+
method: 'getChallengeTypeTimelineTemplate'
112+
// auth: 'jwt',
113+
// access: [constants.UserRoles.Admin, constants.UserRoles.Copilot],
114+
// scopes: [CHALLENGE_TYPE_TIMELINE_TEMPLATES.READ, CHALLENGE_TYPE_TIMELINE_TEMPLATES.ALL]
115115
},
116116
put: {
117117
controller: 'ChallengeTypeTimelineTemplateController',

0 commit comments

Comments
 (0)