projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'develop' into issue/1276
[akkoma]
/
lib
/
pleroma
/
web
/
mastodon_api
/
controllers
/
subscription_controller.ex
diff --git
a/lib/pleroma/web/mastodon_api/controllers/subscription_controller.ex
b/lib/pleroma/web/mastodon_api/controllers/subscription_controller.ex
index 287eebf921e4b726b6164fb2a21f54c71bc35e7a..fc7d52824e48231691d6beaf048ae0e0617ee485 100644
(file)
--- a/
lib/pleroma/web/mastodon_api/controllers/subscription_controller.ex
+++ b/
lib/pleroma/web/mastodon_api/controllers/subscription_controller.ex
@@
-14,6
+14,8
@@
defmodule Pleroma.Web.MastodonAPI.SubscriptionController do
plug(Pleroma.Plugs.OAuthScopesPlug, %{scopes: ["push"]})
+ plug(Pleroma.Plugs.EnsurePublicOrAuthenticatedPlug)
+
# Creates PushSubscription
# POST /api/v1/push/subscription
#