API: Added name to history purchase-set, fixes #12

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

View File

@ -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):