From c218a2cbdf5a3e78e9e6a51502b274c4abca55ed Mon Sep 17 00:00:00 2001 From: Matteo Pagliazzi Date: Tue, 3 May 2016 15:54:02 +0200 Subject: [PATCH] v3 fix apidoc broken layout --- website/src/controllers/api-v3/challenges.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/src/controllers/api-v3/challenges.js b/website/src/controllers/api-v3/challenges.js index dcd0af5c66..4f738afc80 100644 --- a/website/src/controllers/api-v3/challenges.js +++ b/website/src/controllers/api-v3/challenges.js @@ -510,7 +510,7 @@ export async function _closeChal (challenge, broken = {}) { * @apiName DeleteChallenge * @apiGroup Challenge * - * challengeId {UUID} The _id for the challenge to delete + * @apiParam {UUID} challengeId The _id for the challenge to delete * * @apiSuccess {object} data An empty object */ @@ -542,8 +542,8 @@ api.deleteChallenge = { * @apiName SelectChallengeWinner * @apiGroup Challenge * - * challengeId {UUID} The _id for the challenge to close with a winner - * winnerId {UUID} The _id of the winning user + * @apiParam {UUID} challengeId The _id for the challenge to close with a winner + * @apiParam {UUID} winnerId The _id of the winning user * * @apiSuccess {object} data An empty object */