Extend Pleroma.Pagination to support offset-based pagination, use async/await to...
[akkoma] / lib / pleroma / web / router.ex
index ff9ed1640c069b9a032560be9124e5a291eac439..d53fa8a350b56c1f9387af3d6a76d92c0462c1af 100644 (file)
@@ -322,6 +322,10 @@ defmodule Pleroma.Web.Router do
 
       patch("/accounts/update_credentials", MastodonAPIController, :update_credentials)
 
+      patch("/accounts/update_avatar", MastodonAPIController, :update_avatar)
+      patch("/accounts/update_banner", MastodonAPIController, :update_banner)
+      patch("/accounts/update_background", MastodonAPIController, :update_background)
+
       post("/statuses", MastodonAPIController, :post_status)
       delete("/statuses/:id", MastodonAPIController, :delete_status)