change '/group/' to '/groups/' in docs for /api/v3/challenges/groups/:groupId

This commit is contained in:
Alys 2016-11-13 09:38:17 +10:00
parent cbe1892b50
commit 5a150ebc5b
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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