Move EmojiAPIController from EmojiAPI to PleromaAPI

This commit is contained in:
Ekaterina Vaartis 2019-09-11 22:43:00 +03:00
parent dd818bdd48
commit 74fb6d8647
3 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
defmodule Pleroma.Web.EmojiAPI.EmojiAPIController do
defmodule Pleroma.Web.PleromaAPI.EmojiAPIController do
use Pleroma.Web, :controller
require Logger

View file

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

View file

@ -1,4 +1,4 @@
defmodule Pleroma.Web.EmojiAPI.EmojiAPIControllerTest do
defmodule Pleroma.Web.PleromaAPI.EmojiAPIControllerTest do
use Pleroma.Web.ConnCase
import Tesla.Mock