mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 00:26:30 +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
|
* `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,
|
||||||
|
|
Loading…
Reference in a new issue