From: Alibek Omarov Date: Sun, 26 Jul 2020 13:54:56 +0000 (+0000) Subject: OpenAPI: Replace actor_id by account_id to follow ChatMessage schema X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=b31844d6e01fc8bea4ecbe93b072846ca4309e88;p=akkoma OpenAPI: Replace actor_id by account_id to follow ChatMessage schema --- diff --git a/lib/pleroma/web/api_spec/operations/chat_operation.ex b/lib/pleroma/web/api_spec/operations/chat_operation.ex index cf299bfc2..1a5b05899 100644 --- a/lib/pleroma/web/api_spec/operations/chat_operation.ex +++ b/lib/pleroma/web/api_spec/operations/chat_operation.ex @@ -300,11 +300,11 @@ defmodule Pleroma.Web.ApiSpec.ChatOperation 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 @@ defmodule Pleroma.Web.ApiSpec.ChatOperation 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],