From 79903d242f09baf93904413f4a9f5a3f43ef8fb9 Mon Sep 17 00:00:00 2001 From: Alys Date: Wed, 25 Apr 2018 16:23:07 +1000 Subject: [PATCH] edit apidocs comment: CreateChallenge takes the parameter `group` not `groupId` --- website/server/controllers/api-v3/challenges.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/server/controllers/api-v3/challenges.js b/website/server/controllers/api-v3/challenges.js index 27b721f583..0d6d2a4e50 100644 --- a/website/server/controllers/api-v3/challenges.js +++ b/website/server/controllers/api-v3/challenges.js @@ -161,7 +161,7 @@ let api = {}; * @apiDescription Creates a challenge. Cannot create associated tasks with this route. See CreateChallengeTasks. * * @apiParam (Body) {Object} challenge An object representing the challenge to be created - * @apiParam (Body) {UUID} challenge.groupId The id of the group to which the challenge belongs + * @apiParam (Body) {UUID} challenge.group The id of the group to which the challenge belongs * @apiParam (Body) {String} challenge.name The full name of the challenge * @apiParam (Body) {String} challenge.shortName A shortened name for the challenge, to be used as a tag * @apiParam (Body) {String} [challenge.summary] A short summary advertising the main purpose of the challenge; maximum 250 characters; if not supplied, challenge.name will be used