API: Added deposit bool to history, fixes #29
This commit is contained in:
parent
90a9c152fa
commit
f351a3f087
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue