From b458cfaead6117b5f41fd14ecaff89d92d989188 Mon Sep 17 00:00:00 2001 From: Sebastian Lohff Date: Fri, 21 Oct 2011 01:25:52 +0200 Subject: [PATCH] Fixed #5 - Wrong API-Doc for Api /buy/ --- k4ever/api2/handlers.py | 2 +- k4ever/docs/django/api.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/k4ever/api2/handlers.py b/k4ever/api2/handlers.py index 5a8b256..d8c1393 100644 --- a/k4ever/api2/handlers.py +++ b/k4ever/api2/handlers.py @@ -76,7 +76,7 @@ class BuyableItemHandler(BaseHandler): def buyItem(self, request, itemId): """Buy a :class:`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) """ if not itemId: diff --git a/k4ever/docs/django/api.rst b/k4ever/docs/django/api.rst index 6bda061..6038c47 100644 --- a/k4ever/docs/django/api.rst +++ b/k4ever/docs/django/api.rst @@ -67,7 +67,7 @@ to the handler or the responsible method for more documentation or code. ========= ======================================================= 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) ========= =======================================================