Merge remote-tracking branch 'upstream/develop' into aliases
[akkoma] / lib / pleroma / web / router.ex
index c6433cc5325f3e923dc9150632c82ec5945d7d5a..fbab0fc272abd43da8fc3d7b28d97755113469da 100644 (file)
@@ -345,6 +345,9 @@ defmodule Pleroma.Web.Router do
 
       post("/accounts/:id/subscribe", AccountController, :subscribe)
       post("/accounts/:id/unsubscribe", AccountController, :unsubscribe)
+
+      post("/accounts/ap_aliases", AccountController, :add_aliases)
+      delete("/accounts/ap_aliases", AccountController, :delete_aliases)
     end
 
     post("/accounts/confirmation_resend", AccountController, :confirmation_resend)