mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 07:37:25 +01:00
fix incorrect Armoire test; remove unneeded param details from apidocs; disambiguate health potion
This commit is contained in:
@@ -557,8 +557,6 @@ api.buyGear = {
|
||||
* @apiName UserBuyArmoire
|
||||
* @apiGroup User
|
||||
*
|
||||
* @apiParam {string} key The item to buy.
|
||||
*
|
||||
* @apiSuccess {object} data.items user.items
|
||||
* @apiSuccess {object} data.flags user.flags
|
||||
* @apiSuccess {object} data.armoire Extra item given by the armoire
|
||||
@@ -577,13 +575,11 @@ api.buyArmoire = {
|
||||
};
|
||||
|
||||
/**
|
||||
* @api {post} /user/buy-potion Buy a potion.
|
||||
* @api {post} /user/buy-potion Buy a health potion
|
||||
* @apiVersion 3.0.0
|
||||
* @apiName UserBuyPotion
|
||||
* @apiGroup User
|
||||
*
|
||||
* @apiParam {string} key The item to buy.
|
||||
*
|
||||
* @apiSuccess {Object} data user.stats
|
||||
* @apiSuccess {string} message Success message
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user