update marker api
This commit is contained in:
parent
1b82eb6d41
commit
209319c8d2
3 changed files with 18 additions and 16 deletions
|
|
@ -10,8 +10,10 @@ defmodule Pleroma.Web.MastodonAPI.MarkerView do
|
|||
Map.put_new(acc, m.timeline, %{
|
||||
last_read_id: m.last_read_id,
|
||||
version: m.lock_version,
|
||||
unread_count: m.unread_count,
|
||||
updated_at: NaiveDateTime.to_iso8601(m.updated_at)
|
||||
updated_at: NaiveDateTime.to_iso8601(m.updated_at),
|
||||
pleroma: %{
|
||||
unread_count: m.unread_count
|
||||
}
|
||||
})
|
||||
end)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue