From 0424697a2e8413d8042b999471c790c719577014 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Sun, 27 Nov 2022 15:28:29 +0100 Subject: [PATCH] mix format MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- lib/pleroma/web/activity_pub/activity_pub.ex | 2 +- .../web/api_spec/operations/pleroma_event_operation.ex | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/pleroma/web/activity_pub/activity_pub.ex b/lib/pleroma/web/activity_pub/activity_pub.ex index 6a4519848f..9684bddb0e 100644 --- a/lib/pleroma/web/activity_pub/activity_pub.ex +++ b/lib/pleroma/web/activity_pub/activity_pub.ex @@ -1278,7 +1278,7 @@ defp restrict_quote_url(query, _), do: query defp restrict_join_state(query, %{state: state}) when is_binary(state) do from( [activity] in query, - where: fragment("(?)->>'state' = ?", activity.data, ^state), + where: fragment("(?)->>'state' = ?", activity.data, ^state) ) end diff --git a/lib/pleroma/web/api_spec/operations/pleroma_event_operation.ex b/lib/pleroma/web/api_spec/operations/pleroma_event_operation.ex index 62fbe43b3b..792b9a07b8 100644 --- a/lib/pleroma/web/api_spec/operations/pleroma_event_operation.ex +++ b/lib/pleroma/web/api_spec/operations/pleroma_event_operation.ex @@ -206,7 +206,12 @@ def joined_events_operation do | pagination_params() ], responses: %{ - 200 => Operation.response("Array of Statuses", "application/json", StatusOperation.array_of_statuses()) + 200 => + Operation.response( + "Array of Statuses", + "application/json", + StatusOperation.array_of_statuses() + ) } } end