diff --git a/zephyr/views.py b/zephyr/views.py index 014f6cf421..e873628eeb 100644 --- a/zephyr/views.py +++ b/zephyr/views.py @@ -1189,6 +1189,9 @@ def get_public_streams_backend(request, user_profile): @authenticated_api_view def api_list_subscriptions(request, user_profile): + return list_subscriptions_backend(request, user_profile) + +def list_subscriptions_backend(request, user_profile): return json_success({"subscriptions": gather_subscriptions(user_profile)[0]}) @authenticated_json_post_view