mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-13 23:42:12 +00:00
Corrected example for send gift to be correct
This commit is contained in:
parent
d358236f42
commit
be37e88dc3
1 changed files with 1 additions and 1 deletions
|
|
@ -612,7 +612,7 @@ module.exports = (swagger, v2) ->
|
|||
description: 'Send a gift to a member'
|
||||
parameters: [
|
||||
path 'uuid', 'The UUID of the member', 'string'
|
||||
body '', '{gems:{amount:Number, fromBalance:Boolean}, subscription:{months:Number}}', 'object'
|
||||
body '', '{"type": "gems or subscription", "gems":{"amount":Number, "fromBalance":Boolean}, "subscription":{"months":Number}}', 'object'
|
||||
]
|
||||
middleware: [auth.auth]
|
||||
action: members.sendGift
|
||||
|
|
|
|||
Loading…
Reference in a new issue