Fixed #5 - Wrong API-Doc for Api /buy/
This commit is contained in:
parent
bc18ed6661
commit
b458cfaead
|
@ -76,7 +76,7 @@ class BuyableItemHandler(BaseHandler):
|
||||||
def buyItem(self, request, itemId):
|
def buyItem(self, request, itemId):
|
||||||
"""Buy a :class:`Buyable <buyable.models.Buyable>` item.
|
"""Buy a :class:`Buyable <buyable.models.Buyable>` item.
|
||||||
|
|
||||||
- deposit: Set to 0 for no deposit, 1 for item+deposit and 2 for deposit only (default 0)
|
- deposit: Set to 0 for no deposit, 1 for deposit and 2 for item+deposit (default 0)
|
||||||
- amount: amount of items to buy (default 1)
|
- amount: amount of items to buy (default 1)
|
||||||
"""
|
"""
|
||||||
if not itemId:
|
if not itemId:
|
||||||
|
|
|
@ -67,7 +67,7 @@ to the handler or the responsible method for more documentation or code.
|
||||||
========= =======================================================
|
========= =======================================================
|
||||||
Parameter Description
|
Parameter Description
|
||||||
========= =======================================================
|
========= =======================================================
|
||||||
deposit Set to 0 for no deposit, 1 for item+deposit and 2 for deposit only (default 0)
|
deposit Set to 0 for no deposit, 1 for deposit and 2 for item+deposit (default 0)
|
||||||
amount amount of items to buy (default 1)
|
amount amount of items to buy (default 1)
|
||||||
========= =======================================================
|
========= =======================================================
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue