API: Added name to history purchase-set, fixes #12
This commit is contained in:
parent
b9c815effe
commit
90a9c152fa
|
@ -190,7 +190,7 @@ class BuyableTypeHandler(BaseHandler):
|
|||
class HistoryHandler(BaseHandler):
|
||||
"""Handler providing access to the user's history """
|
||||
allowed_methods = ('GET',)
|
||||
fields = ('id', 'price', 'dateTime', ('purchase_set', (('buyable', ('id', )), 'price', 'name')))
|
||||
fields = ('id', 'price', 'dateTime', ('purchase_set', (('buyable', ('id', 'name')), 'price', 'name')))
|
||||
|
||||
@manglePluginPerms
|
||||
def read(self, request):
|
||||
|
|
Loading…
Reference in New Issue