|
|
@@ -5,8 +5,8 @@ |
|
|
|
defmodule Pleroma.Web.PleromaAPI.BackupController do |
|
|
|
use Pleroma.Web, :controller |
|
|
|
|
|
|
|
alias Pleroma.Web.Plugs.OAuthScopesPlug |
|
|
|
alias Pleroma.User.Backup |
|
|
|
alias Pleroma.Web.Plugs.OAuthScopesPlug |
|
|
|
|
|
|
|
action_fallback(Pleroma.Web.MastodonAPI.FallbackController) |
|
|
|
plug(OAuthScopesPlug, %{scopes: ["read:accounts"]} when action in [:index, :create]) |
|
|
|