MastoAPI: Fix put_settings
This commit is contained in:
parent
ccf0b46dd6
commit
2ae1128d9f
3 changed files with 10 additions and 7 deletions
|
|
@ -62,10 +62,6 @@ defmodule Pleroma.User do
|
|||
|> validate_required([:following])
|
||||
end
|
||||
|
||||
def info_changeset(struct, params \\ %{}) do
|
||||
raise "NOT VALID ANYMORE"
|
||||
end
|
||||
|
||||
def user_info(%User{} = user) do
|
||||
oneself = if user.local, do: 1, else: 0
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue