API compatibility with fedibird, frontend config (#163)
[akkoma] / lib / pleroma / web / router.ex
index a0310bbb50b535341181729c6a2717533138f00f..647d99278e0b6ace55913c13f15922562b8e8cd9 100644 (file)
@@ -457,6 +457,11 @@ defmodule Pleroma.Web.Router do
     get("/federation_status", InstancesController, :show)
   end
 
+  scope "/api/v1", Pleroma.Web.PleromaAPI do
+    pipe_through(:authenticated_api)
+    put("/statuses/:id/emoji_reactions/:emoji", EmojiReactionController, :create)
+  end
+
   scope "/api/v1", Pleroma.Web.MastodonAPI do
     pipe_through(:authenticated_api)