Fixed typo in api

This commit is contained in:
Fergal Moran
2012-10-27 17:56:17 +01:00
parent c09598f3eb
commit e98519493c

View File

@@ -74,7 +74,7 @@ class MixResource(BackboneCompatibleResource):
bundle.data['item_url'] = 'mix/%s' % bundle.obj.id
bundle.data['play_count'] = bundle.obj.plays.count()
bundle.data['download_count'] = bundle.obj.downloads.COUNT()
bundle.data['download_count'] = bundle.obj.downloads.count()
bundle.data['like_count'] = bundle.obj.likes.count()
bundle.data['mode'] = 'mix'
bundle.data['tooltip'] = render_to_string('inc/player_tooltip.html', {'item': bundle.obj})