mirror of https://github.com/zulip/zulip.git
Non-asynchronous API calls only take two arguments
(imported from commit 39f21892e38b0f8c2369d77ffcfb077f1006863e)
This commit is contained in:
parent
6ed1d38743
commit
ec389c5c83
|
@ -242,7 +242,7 @@ def json_get_old_messages(request):
|
|||
apply_markdown=True)
|
||||
|
||||
@login_required_api_view
|
||||
def api_get_old_messages(request, user_profile, handler):
|
||||
def api_get_old_messages(request, user_profile):
|
||||
return get_old_messages_backend(request, user_profile=user_profile,
|
||||
apply_markdown=(request.POST.get("apply_markdown") is not None))
|
||||
|
||||
|
|
Loading…
Reference in New Issue