Browse Source

UserFetcherPlug module name

1668/default-disable-prometheus
Alexander Strizhakov 4 years ago
parent
commit
61c609884c
No known key found for this signature in database GPG Key ID: 22896A53AEF1381
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      lib/pleroma/web/plugs/user_fetcher_plug.ex
  2. +1
    -1
      lib/pleroma/web/router.ex
  3. +1
    -1
      test/pleroma/web/plugs/user_fetcher_plug_test.exs

+ 1
- 1
lib/pleroma/web/plugs/user_fetcher_plug.ex View File

@@ -2,7 +2,7 @@
# Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.Plugs.UserFetcherPlug do
defmodule Pleroma.Web.Plugs.UserFetcherPlug do
alias Pleroma.User
import Plug.Conn



+ 1
- 1
lib/pleroma/web/router.ex View File

@@ -27,7 +27,7 @@ defmodule Pleroma.Web.Router do
pipeline :authenticate do
plug(Pleroma.Plugs.OAuthPlug)
plug(Pleroma.Plugs.BasicAuthDecoderPlug)
plug(Pleroma.Plugs.UserFetcherPlug)
plug(Pleroma.Web.Plugs.UserFetcherPlug)
plug(Pleroma.Plugs.SessionAuthenticationPlug)
plug(Pleroma.Plugs.LegacyAuthenticationPlug)
plug(Pleroma.Plugs.AuthenticationPlug)


+ 1
- 1
test/pleroma/web/plugs/user_fetcher_plug_test.exs View File

@@ -5,7 +5,7 @@
defmodule Pleroma.Web.Plugs.UserFetcherPlugTest do
use Pleroma.Web.ConnCase, async: true

alias Pleroma.Plugs.UserFetcherPlug
alias Pleroma.Web.Plugs.UserFetcherPlug
import Pleroma.Factory

setup do


Loading…
Cancel
Save