projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'global-status-expiration' into 'develop'
[akkoma]
/
lib
/
pleroma
/
web
/
api_spec
/
schemas
/
chat.ex
diff --git
a/lib/pleroma/web/api_spec/schemas/chat.ex
b/lib/pleroma/web/api_spec/schemas/chat.ex
index c6ec07c885c0e3435b893f37733902c01483589e..b4986b734e9b7613504aa299a7b4b4cd0c226a95 100644
(file)
--- a/
lib/pleroma/web/api_spec/schemas/chat.ex
+++ b/
lib/pleroma/web/api_spec/schemas/chat.ex
@@
-16,7
+16,8
@@
defmodule Pleroma.Web.ApiSpec.Schemas.Chat do
id: %Schema{type: :string},
account: %Schema{type: :object},
unread: %Schema{type: :integer},
id: %Schema{type: :string},
account: %Schema{type: :object},
unread: %Schema{type: :integer},
- last_message: ChatMessage
+ last_message: ChatMessage,
+ updated_at: %Schema{type: :string, format: :"date-time"}
},
example: %{
"account" => %{
},
example: %{
"account" => %{
@@
-67,7
+68,8
@@
defmodule Pleroma.Web.ApiSpec.Schemas.Chat do
},
"id" => "1",
"unread" => 2,
},
"id" => "1",
"unread" => 2,
- "last_message" => ChatMessage.schema().example()
+ "last_message" => ChatMessage.schema().example(),
+ "updated_at" => "2020-04-21T15:06:45.000Z"
}
})
end
}
})
end