mirror of https://github.com/zulip/zulip.git
Return our standard JSON success data on /zephyr POST.
(imported from commit 045e209d1a001d27b755a45984f9e159470b80bc)
This commit is contained in:
parent
da730ab0b0
commit
aa8ea169c7
|
@ -203,7 +203,7 @@ def zephyr(request):
|
||||||
new_zephyr.pub_date = datetime.datetime.utcnow().replace(tzinfo=utc)
|
new_zephyr.pub_date = datetime.datetime.utcnow().replace(tzinfo=utc)
|
||||||
new_zephyr.save()
|
new_zephyr.save()
|
||||||
|
|
||||||
return HttpResponse('')
|
return json_success()
|
||||||
|
|
||||||
@login_required
|
@login_required
|
||||||
def subscriptions(request):
|
def subscriptions(request):
|
||||||
|
|
Loading…
Reference in New Issue