mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-13 17:52:22 +00:00
fix typo in apidocs comment
This commit is contained in:
parent
c8625cb23f
commit
2e429513da
1 changed files with 13 additions and 22 deletions
|
|
@ -1,25 +1,16 @@
|
||||||
import { authWithHeaders } from '../../middlewares/auth';
|
import { authWithHeaders } from '../../middlewares/auth'; import
|
||||||
import common from '../../../common';
|
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 {
|
import {
|
||||||
NotFound,
|
getUserInfo, sendTxn as txnEmail,
|
||||||
BadRequest,
|
} from '../../libs/email'; import nconf from 'nconf'; import get from
|
||||||
NotAuthorized,
|
'lodash/get';
|
||||||
} 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';
|
|
||||||
|
|
||||||
const TECH_ASSISTANCE_EMAIL = nconf.get('EMAILS:TECH_ASSISTANCE_EMAIL');
|
const TECH_ASSISTANCE_EMAIL = nconf.get('EMAILS:TECH_ASSISTANCE_EMAIL');
|
||||||
const DELETE_CONFIRMATION = 'DELETE';
|
const DELETE_CONFIRMATION = 'DELETE';
|
||||||
|
|
@ -522,7 +513,7 @@ const partyMembersFields = 'profile.name stats achievements items.special';
|
||||||
* @apiGroup User
|
* @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.
|
* @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:
|
* @apiParamExample {json} Query example:
|
||||||
* Cast "Pickpocket" on a task:
|
* Cast "Pickpocket" on a task:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue