Move update_credentials to MastodonAPI.AccountController

This commit is contained in:
Egor Kislitsyn 2019-09-30 15:47:01 +07:00
commit 987e0b8be8
No known key found for this signature in database
GPG key ID: 1B49CB15B71E7805
4 changed files with 89 additions and 107 deletions

View file

@ -380,7 +380,7 @@ defmodule Pleroma.Web.Router do
scope [] do
pipe_through(:oauth_write)
patch("/accounts/update_credentials", MastodonAPIController, :update_credentials)
patch("/accounts/update_credentials", AccountController, :update_credentials)
post("/statuses", StatusController, :create)
delete("/statuses/:id", StatusController, :delete)