diff options
author | Mark Felder <feld@FreeBSD.org> | 2019-07-12 11:25:58 -0500 |
---|---|---|
committer | Mark Felder <feld@FreeBSD.org> | 2019-07-12 11:25:58 -0500 |
commit | 360e4cdaa2708d54903765c61afbc5ea5f1b2cdb (patch) | |
tree | b6dd78ecbafccdfeabde1f60b9d9685c28539246 /lib | |
parent | b6567c9f4e290ba8ad928c9ed10e72d2589dd89a (diff) | |
download | pleroma-360e4cdaa2708d54903765c61afbc5ea5f1b2cdb.tar.gz |
Move these to pleroma namespace in Mastodon API
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/router.ex | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/pleroma/web/router.ex b/lib/pleroma/web/router.ex index d53fa8a35..a3b6ea366 100644 --- a/lib/pleroma/web/router.ex +++ b/lib/pleroma/web/router.ex @@ -322,10 +322,6 @@ 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) @@ -360,6 +356,10 @@ defmodule Pleroma.Web.Router do put("/filters/:id", MastodonAPIController, :update_filter) delete("/filters/:id", MastodonAPIController, :delete_filter) + patch("/pleroma/accounts/update_avatar", MastodonAPIController, :update_avatar) + patch("/pleroma/accounts/update_banner", MastodonAPIController, :update_banner) + patch("/pleroma/accounts/update_background", MastodonAPIController, :update_background) + get("/pleroma/mascot", MastodonAPIController, :get_mascot) put("/pleroma/mascot", MastodonAPIController, :set_mascot) |