commit: 0bfe5920486cd84fd17ea405fb49a6a40ca5bc2c
parent 706fc7e1ec1cf8121f3d7a05cd2cc5f0a53b120c
Author: Mark Felder <feld@feld.me>
Date: Tue, 6 Aug 2024 12:48:36 -0400
Credo
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/pleroma/web/activity_pub/publisher.ex b/lib/pleroma/web/activity_pub/publisher.ex
@@ -136,7 +136,7 @@ defmodule Pleroma.Web.ActivityPub.Publisher do
* `unreachable_since`: timestamp the instance was marked unreachable
"""
- def publish_one(p = %Prepared{}) do
+ def publish_one(%Prepared{} = p) do
with {:ok, %{status: code}} = result when code in 200..299 <-
HTTP.post(
p.inbox,