From 2e429513da43b6ae0cecdcb008271bf5c2b203e9 Mon Sep 17 00:00:00 2001 From: Alys Date: Wed, 18 Oct 2017 08:04:53 +1000 Subject: [PATCH] fix typo in apidocs comment --- website/server/controllers/api-v3/user.js | 35 +++++++++-------------- 1 file changed, 13 insertions(+), 22 deletions(-) diff --git a/website/server/controllers/api-v3/user.js b/website/server/controllers/api-v3/user.js index 172c0a8e18..56993964bd 100644 --- a/website/server/controllers/api-v3/user.js +++ b/website/server/controllers/api-v3/user.js @@ -1,25 +1,16 @@ -import { authWithHeaders } from '../../middlewares/auth'; -import common from '../../../common'; +import { authWithHeaders } from '../../middlewares/auth'; import +common from '../../../common'; import { + NotFound, BadRequest, NotAuthorized, +} from '../../libs/errors'; import * as Tasks from +'../../models/task'; import { + basicFields as basicGroupFields, model as Group, +} from '../../models/group'; import { model as User } from +'../../models/user'; import Bluebird from 'bluebird'; import _ from +'lodash'; import * as passwordUtils from '../../libs/password'; import { - NotFound, - BadRequest, - NotAuthorized, -} from '../../libs/errors'; -import * as Tasks from '../../models/task'; -import { - basicFields as basicGroupFields, - model as Group, -} from '../../models/group'; -import { model as User } from '../../models/user'; -import Bluebird from 'bluebird'; -import _ from 'lodash'; -import * as passwordUtils from '../../libs/password'; -import { - getUserInfo, - sendTxn as txnEmail, -} from '../../libs/email'; -import nconf from 'nconf'; -import get from 'lodash/get'; + getUserInfo, sendTxn as txnEmail, +} from '../../libs/email'; import nconf from 'nconf'; import get from +'lodash/get'; const TECH_ASSISTANCE_EMAIL = nconf.get('EMAILS:TECH_ASSISTANCE_EMAIL'); const DELETE_CONFIRMATION = 'DELETE'; @@ -522,7 +513,7 @@ const partyMembersFields = 'profile.name stats achievements items.special'; * @apiGroup User * - * @apiParam (Path) {String=fireball, mpHeal, earth, frost, smash, defensiveStance, valorousPresence, intimidate, pickPocket, backStab, toolsOfTrade, stealth, heal, protectAura, brightness, healAll} spellId The skill to cast. + * @apiParam (Path) {String=fireball, mpheal, earth, frost, smash, defensiveStance, valorousPresence, intimidate, pickPocket, backStab, toolsOfTrade, stealth, heal, protectAura, brightness, healAll} spellId The skill to cast. * @apiParam (Query) {UUID} targetId Query parameter, necessary if the spell is cast on a party member or task. Not used if the spell is case on the user or the user's current party. * @apiParamExample {json} Query example: * Cast "Pickpocket" on a task: