Linting.
authorLain Soykaf <lain@lain.com>
Tue, 7 Dec 2021 17:12:23 +0000 (12:12 -0500)
committerLain Soykaf <lain@lain.com>
Tue, 7 Dec 2021 17:12:23 +0000 (12:12 -0500)
lib/pleroma/web/activity_pub/publisher.ex

index 849b359d02d3aec7b4db25c15144cbaf3bbf01c1..ed99079e2f7c9dd0ffce56c70ee532024074f350 100644 (file)
@@ -64,16 +64,16 @@ defmodule Pleroma.Web.ActivityPub.Publisher do
       })
 
     with {:ok, %{status: code}} = result when code in 200..299 <-
-             HTTP.post(
-               inbox,
-               json,
-               [
-                 {"Content-Type", "application/activity+json"},
-                 {"Date", date},
-                 {"signature", signature},
-                 {"digest", digest}
-               ]
-             ) do
+           HTTP.post(
+             inbox,
+             json,
+             [
+               {"Content-Type", "application/activity+json"},
+               {"Date", date},
+               {"signature", signature},
+               {"digest", digest}
+             ]
+           ) do
       if not Map.has_key?(params, :unreachable_since) || params[:unreachable_since] do
         Instances.set_reachable(inbox)
       end