Commit b31844d6 authored by Alibek Omarov's avatar Alibek Omarov

OpenAPI: Replace actor_id by account_id to follow ChatMessage schema

parent ce9647ae
......@@ -300,11 +300,11 @@ def chat_messages_response do
"content" => "Check this out :firefox:",
"id" => "13",
"chat_id" => "1",
"actor_id" => "someflakeid",
"account_id" => "someflakeid",
"unread" => false
},
%{
"actor_id" => "someflakeid",
"account_id" => "someflakeid",
"content" => "Whats' up?",
"id" => "12",
"chat_id" => "1",
......@@ -337,7 +337,7 @@ def chat_message_create do
def mark_as_read do
%Schema{
title: "MarkAsReadRequest",
title: "MarkAsReadRequest",Update chat_operation.ex
description: "POST body for marking a number of chat messages as read",
type: :object,
required: [:last_read_id],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment