projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Do not fetch anything from blocked instances
[akkoma]
/
lib
/
pleroma
/
web
/
pleroma_api
/
controllers
/
mascot_controller.ex
diff --git
a/lib/pleroma/web/pleroma_api/controllers/mascot_controller.ex
b/lib/pleroma/web/pleroma_api/controllers/mascot_controller.ex
index 7e2f6c3284d9b53964213f47b0008ce5f181ebef..429ef51121d0bbcb826a10265b2148f4a99a4a05 100644
(file)
--- a/
lib/pleroma/web/pleroma_api/controllers/mascot_controller.ex
+++ b/
lib/pleroma/web/pleroma_api/controllers/mascot_controller.ex
@@
-1,13
+1,13
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-202
0
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-202
1
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.PleromaAPI.MascotController do
use Pleroma.Web, :controller
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.PleromaAPI.MascotController do
use Pleroma.Web, :controller
- alias Pleroma.Plugs.OAuthScopesPlug
alias Pleroma.User
alias Pleroma.Web.ActivityPub.ActivityPub
alias Pleroma.User
alias Pleroma.Web.ActivityPub.ActivityPub
+ alias Pleroma.Web.Plugs.OAuthScopesPlug
plug(Majic.Plug, [pool: Pleroma.MajicPool] when action in [:update])
plug(Pleroma.Web.ApiSpec.CastAndValidate)
plug(Majic.Plug, [pool: Pleroma.MajicPool] when action in [:update])
plug(Pleroma.Web.ApiSpec.CastAndValidate)