Merge branch 'split-masto-api/apps' into 'develop'
[akkoma] / lib / pleroma / web / router.ex
index bb8e7bd721651038654b3f53356e0344101eb945..29f53108c05deef998b37b8dab2bb39f38e9f4a0 100644 (file)
@@ -464,8 +464,8 @@ defmodule Pleroma.Web.Router do
 
     get("/instance", MastodonAPIController, :masto_instance)
     get("/instance/peers", MastodonAPIController, :peers)
-    post("/apps", MastodonAPIController, :create_app)
-    get("/apps/verify_credentials", MastodonAPIController, :verify_app_credentials)
+    post("/apps", AppController, :create)
+    get("/apps/verify_credentials", AppController, :verify_credentials)
     get("/custom_emojis", MastodonAPIController, :custom_emojis)
 
     get("/statuses/:id/card", StatusController, :card)