Move update_credentials to MastodonAPI.AccountController
This commit is contained in:
parent
c0ce2d5faf
commit
987e0b8be8
4 changed files with 89 additions and 107 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue