Fix background updating / handling.
This commit is contained in:
parent
371d96b1da
commit
91065e1968
3 changed files with 10 additions and 3 deletions
|
|
@ -4,7 +4,7 @@ defmodule Pleroma.User.Info do
|
|||
|
||||
embedded_schema do
|
||||
field(:banner, :map, default: %{})
|
||||
field(:background, :string, default: nil)
|
||||
field(:background, :map, default: %{})
|
||||
field(:source_data, :map, default: %{})
|
||||
field(:note_count, :integer, default: 0)
|
||||
field(:follower_count, :integer, default: 0)
|
||||
|
|
@ -134,7 +134,8 @@ defmodule Pleroma.User.Info do
|
|||
:locked,
|
||||
:no_rich_text,
|
||||
:default_scope,
|
||||
:banner
|
||||
:banner,
|
||||
:background
|
||||
])
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue