projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
613f55b
)
move result into with guard
author
Finn Behrens
<me@kloenk.dev>
Tue, 7 Dec 2021 08:18:53 +0000
(09:18 +0100)
committer
Finn Behrens
<me@kloenk.dev>
Tue, 7 Dec 2021 08:18:53 +0000
(09:18 +0100)
lib/pleroma/web/activity_pub/publisher.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/activity_pub/publisher.ex
b/lib/pleroma/web/activity_pub/publisher.ex
index 4f29a441136a2377eb3a7f1cd6ea07430c708e86..849b359d02d3aec7b4db25c15144cbaf3bbf01c1 100644
(file)
--- a/
lib/pleroma/web/activity_pub/publisher.ex
+++ b/
lib/pleroma/web/activity_pub/publisher.ex
@@
-63,8
+63,7
@@
defmodule Pleroma.Web.ActivityPub.Publisher do
date: date
})
- with {:ok, %{status: code}} when code in 200..299 <-
- result =
+ with {:ok, %{status: code}} = result when code in 200..299 <-
HTTP.post(
inbox,
json,