forked from AkkomaGang/akkoma
Move EmojiAPIController from EmojiAPI to PleromaAPI
This commit is contained in:
parent
dd818bdd48
commit
74fb6d8647
3 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
defmodule Pleroma.Web.EmojiAPI.EmojiAPIController do
|
||||
defmodule Pleroma.Web.PleromaAPI.EmojiAPIController do
|
||||
use Pleroma.Web, :controller
|
||||
|
||||
require Logger
|
||||
|
|
|
@ -207,7 +207,7 @@ defmodule Pleroma.Web.Router do
|
|||
get("/moderation_log", AdminAPIController, :list_log)
|
||||
end
|
||||
|
||||
scope "/api/pleroma/emoji", Pleroma.Web.EmojiAPI do
|
||||
scope "/api/pleroma/emoji", Pleroma.Web.PleromaAPI do
|
||||
scope [] do
|
||||
pipe_through([:admin_api, :oauth_write])
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
defmodule Pleroma.Web.EmojiAPI.EmojiAPIControllerTest do
|
||||
defmodule Pleroma.Web.PleromaAPI.EmojiAPIControllerTest do
|
||||
use Pleroma.Web.ConnCase
|
||||
|
||||
import Tesla.Mock
|
||||
|
|
Loading…
Reference in a new issue