forked from 0x2620/pandora
just ok
This commit is contained in:
parent
8349c494d3
commit
d1e6da97ad
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ def tv(request):
|
|||
response = json_response(status=404, text='list not found')
|
||||
else:
|
||||
channel, created = models.Channel.objects.get_or_create(list=None)
|
||||
response = json_response(status=200, text='created')
|
||||
response = json_response(status=200, text='ok')
|
||||
response['data'] = channel.json(request.user)
|
||||
return render_to_json_response(response)
|
||||
actions.register(tv, cache=False)
|
||||
|
|
Loading…
Reference in a new issue