MastoAPI: Add `GET /api/v1/accounts/lookup`
[akkoma] / lib / pleroma / web / router.ex
index 5fbc2509e1034c7055b2a6dd5d1a48389e429f5f..ae373e58c7d4502b9ce7f72564a4f1daaf9dd14c 100644 (file)
@@ -573,6 +573,8 @@ defmodule Pleroma.Web.Router do
     get("/accounts/search", SearchController, :account_search)
     get("/search", SearchController, :search)
 
+    get("/accounts/lookup", AccountController, :lookup)
+
     get("/accounts/:id/statuses", AccountController, :statuses)
     get("/accounts/:id/followers", AccountController, :followers)
     get("/accounts/:id/following", AccountController, :following)