API: Added deposit bool to history, fixes #29

This commit is contained in:
Sebastian Lohff 2012-01-20 22:22:59 +01:00
parent 90a9c152fa
commit f351a3f087
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ class BuyableTypeHandler(BaseHandler):
class HistoryHandler(BaseHandler): class HistoryHandler(BaseHandler):
"""Handler providing access to the user's history """ """Handler providing access to the user's history """
allowed_methods = ('GET',) allowed_methods = ('GET',)
fields = ('id', 'price', 'dateTime', ('purchase_set', (('buyable', ('id', 'name')), 'price', 'name'))) fields = ('id', 'price', 'dateTime', ('purchase_set', (('buyable', ('id', 'name')), 'price', 'isDeposit')))
@manglePluginPerms @manglePluginPerms
def read(self, request): def read(self, request):