This commit is contained in:
Mark Felder 2024-08-06 12:48:36 -04:00
parent 706fc7e1ec
commit 0bfe592048

View file

@ -136,7 +136,7 @@ defmodule Pleroma.Web.ActivityPub.Publisher do
* `unreachable_since`: timestamp the instance was marked unreachable * `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 <- with {:ok, %{status: code}} = result when code in 200..299 <-
HTTP.post( HTTP.post(
p.inbox, p.inbox,