projects
/
pgweb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11aaa66
)
Properly return http status 201 when creating subscription
author
Magnus Hagander
<magnus@hagander.net>
Fri, 8 Apr 2022 13:41:50 +0000
(15:41 +0200)
committer
Magnus Hagander
<magnus@hagander.net>
Fri, 8 Apr 2022 13:42:13 +0000
(15:42 +0200)
pgweb/account/views.py
patch
|
blob
|
blame
|
history
diff --git
a/pgweb/account/views.py
b/pgweb/account/views.py
index 2381180c9f785144035df11ddc2ef9c648564425..ddb4484a77f1e31a00bc56aa2d1632e387c86f8b 100644
(file)
--- 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)