From e7c70d69d9c460434d09359ac922734f20a2fef5 Mon Sep 17 00:00:00 2001 From: Arpitkumar Chaudhari Date: Tue, 10 Aug 2021 16:11:04 +0530 Subject: [PATCH] Added scopes for calculateAmount & createPayment APIs --- src/routes/TeamRoutes.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/routes/TeamRoutes.js b/src/routes/TeamRoutes.js index 3c83d5f2..afc4bf87 100644 --- a/src/routes/TeamRoutes.js +++ b/src/routes/TeamRoutes.js @@ -112,12 +112,16 @@ module.exports = { post: { controller: "TeamController", method: "calculateAmount", + auth: 'jwt', + scopes: [constants.Scopes.CREATE_TAAS_TEAM] }, }, "/taas-teams/createPayment": { post: { controller: "TeamController", method: "createPayment", + auth: 'jwt', + scopes: [constants.Scopes.CREATE_TAAS_TEAM] }, } }