Skip to content

Commit e7c70d6

Browse files
author
Arpitkumar Chaudhari
committed
Added scopes for calculateAmount & createPayment APIs
1 parent 3d0408c commit e7c70d6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/routes/TeamRoutes.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,12 +112,16 @@ module.exports = {
112112
post: {
113113
controller: "TeamController",
114114
method: "calculateAmount",
115+
auth: 'jwt',
116+
scopes: [constants.Scopes.CREATE_TAAS_TEAM]
115117
},
116118
},
117119
"/taas-teams/createPayment": {
118120
post: {
119121
controller: "TeamController",
120122
method: "createPayment",
123+
auth: 'jwt',
124+
scopes: [constants.Scopes.CREATE_TAAS_TEAM]
121125
},
122126
}
123127
}

0 commit comments

Comments
 (0)