From 7f48853d3289f51532a780f5381af410dfb4bba1 Mon Sep 17 00:00:00 2001 From: Jacob Frericks Date: Fri, 24 Aug 2018 15:48:51 -0500 Subject: [PATCH] Fixing misspelling and inconsistent punctuation in the api doc (#10617) --- website/server/controllers/api-v3/challenges.js | 4 ++-- website/server/controllers/api-v3/user.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/website/server/controllers/api-v3/challenges.js b/website/server/controllers/api-v3/challenges.js index 083dd926e9..7419949ea0 100644 --- a/website/server/controllers/api-v3/challenges.js +++ b/website/server/controllers/api-v3/challenges.js @@ -329,7 +329,7 @@ api.leaveChallenge = { }; /** - * @api {get} /api/v3/challenges/user Get challenges for a user. + * @api {get} /api/v3/challenges/user Get challenges for a user * @apiName GetUserChallenges * @apiGroup Challenge * @apiDescription Get challenges the user has access to. Includes public challenges, challenges belonging to the user's group, and challenges the user has already joined. @@ -640,7 +640,7 @@ api.exportChallengeCsv = { }; /** - * @api {put} /api/v3/challenges/:challengeId Update the name, description, or leader of a challenge. + * @api {put} /api/v3/challenges/:challengeId Update the name, description, or leader of a challenge * * @apiName UpdateChallenge * @apiGroup Challenge diff --git a/website/server/controllers/api-v3/user.js b/website/server/controllers/api-v3/user.js index 763caeab2e..651033919a 100644 --- a/website/server/controllers/api-v3/user.js +++ b/website/server/controllers/api-v3/user.js @@ -147,7 +147,7 @@ api.getBuyList = { }; /** - * @api {get} /api/v3/user/in-app-rewards Get the in app items appaearing in the user's reward column + * @api {get} /api/v3/user/in-app-rewards Get the in app items appearing in the user's reward column * @apiName UserGetInAppRewards * @apiGroup User *