projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'fix/1825-admin-api-error-codes' into 'develop'
[akkoma]
/
lib
/
pleroma
/
web
/
api_spec
/
operations
/
chat_operation.ex
diff --git
a/lib/pleroma/web/api_spec/operations/chat_operation.ex
b/lib/pleroma/web/api_spec/operations/chat_operation.ex
index 45fbad3119b2361a3548a726c2b9be1292008457..cf299bfc264a39cbe05ed9fc554095bf1b7a45ad 100644
(file)
--- a/
lib/pleroma/web/api_spec/operations/chat_operation.ex
+++ b/
lib/pleroma/web/api_spec/operations/chat_operation.ex
@@
-340,10
+340,11
@@
defmodule Pleroma.Web.ApiSpec.ChatOperation do
title: "MarkAsReadRequest",
description: "POST body for marking a number of chat messages as read",
type: :object,
title: "MarkAsReadRequest",
description: "POST body for marking a number of chat messages as read",
type: :object,
+ required: [:last_read_id],
properties: %{
last_read_id: %Schema{
type: :string,
properties: %{
last_read_id: %Schema{
type: :string,
- description: "The content of your message.
Optional.
"
+ description: "The content of your message."
}
},
example: %{
}
},
example: %{