mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-22 16:16:34 +00:00
Credo
This commit is contained in:
parent
706fc7e1ec
commit
0bfe592048
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue