diff --git a/test/api/v3/integration/challenges/GET-challenges_group_groupid.test.js b/test/api/v3/integration/challenges/GET-challenges_group_groupid.test.js index c507d0a4b9..99e3fa0bc1 100644 --- a/test/api/v3/integration/challenges/GET-challenges_group_groupid.test.js +++ b/test/api/v3/integration/challenges/GET-challenges_group_groupid.test.js @@ -5,7 +5,7 @@ import { translate as t, } from '../../../../helpers/api-v3-integration.helper'; -describe('GET challenges/group/:groupId', () => { +describe('GET challenges/groups/:groupId', () => { context('Public Guild', () => { let publicGuild, user, nonMember, challenge, challenge2; diff --git a/website/server/controllers/api-v3/challenges.js b/website/server/controllers/api-v3/challenges.js index a23b11e905..cf7e50cd35 100644 --- a/website/server/controllers/api-v3/challenges.js +++ b/website/server/controllers/api-v3/challenges.js @@ -247,7 +247,7 @@ api.getUserChallenges = { }; /** - * @api {get} /api/v3/challenges/group/:groupId Get challenges for a group + * @api {get} /api/v3/challenges/groups/:groupId Get challenges for a group * @apiDescription Get challenges that the user is a member, public challenges and the ones from the user's groups. * @apiName GetGroupChallenges * @apiGroup Challenge