Merge branch 'patch-3' into 'develop'
authorrinpatch <rinpatch@sdf.org>
Sun, 26 Jul 2020 16:38:57 +0000 (16:38 +0000)
committerrinpatch <rinpatch@sdf.org>
Sun, 26 Jul 2020 16:38:57 +0000 (16:38 +0000)
OpenAPI: Replace actor_id by account_id to follow ChatMessage schema

See merge request pleroma/pleroma!2797

lib/pleroma/web/api_spec/operations/chat_operation.ex

index cf299bfc264a39cbe05ed9fc554095bf1b7a45ad..b1a0d26ab6e51f3315db9e7508c19717c6b91eef 100644 (file)
@@ -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",