mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-12-28 11:13:57 +00:00
Move EmojiAPIController from EmojiAPI to PleromaAPI
This commit is contained in:
parent
dd818bdd48
commit
74fb6d8647
|
@ -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