From d8c24ae45dac17969d1f0fc40f88814bb8f0f8e4 Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Fri, 8 Apr 2022 15:41:50 +0200 Subject: [PATCH] Properly return http status 201 when creating subscription --- pgweb/account/views.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pgweb/account/views.py b/pgweb/account/views.py index 2381180c..ddb4484a 100644 --- a/pgweb/account/views.py +++ b/pgweb/account/views.py @@ -873,3 +873,5 @@ def communityauth_subscribe(request, siteid): 'userid': u.id, 'siteid': site.id, }) + + return HttpResponse(status=201) -- 2.39.5