Fix credo warnings

Bu işleme şunda yer alıyor:
Egor Kislitsyn 2020-10-20 17:47:04 +04:00
ebeveyn e87901c424
işleme 034ac43f3a
Veri tabanında bu imza için bilinen anahtar bulunamadı
GPG Anahtar Kimliği: 1B49CB15B71E7805
2 değiştirilmiş dosya ile 2 ekleme ve 2 silme

Dosyayı Görüntüle

@ -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])

Dosyayı Görüntüle

@ -10,9 +10,9 @@ defmodule Pleroma.User.BackupTest do
import Pleroma.Factory
import Swoosh.TestAssertions
alias Pleroma.User.Backup
alias Pleroma.Bookmark
alias Pleroma.Tests.ObanHelpers
alias Pleroma.User.Backup
alias Pleroma.Web.CommonAPI
alias Pleroma.Workers.BackupWorker