Apply suggestion to lib/pleroma/web/activity_pub/transmogrifier.ex
authorlain <lain@soykaf.club>
Tue, 31 Mar 2020 17:00:48 +0000 (17:00 +0000)
committerlain <lain@soykaf.club>
Tue, 31 Mar 2020 17:00:48 +0000 (17:00 +0000)
lib/pleroma/web/activity_pub/transmogrifier.ex

index 23148b2a041b527c25f2788fb565488cb249803e..fb41ec8e9e6dc4b85f2840994569ae83bd6ac5e3 100644 (file)
@@ -1291,6 +1291,6 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier do
   end
 
   defp maybe_add_recipients_from_object(_) do
-    {:error, "No referenced object"}
+    {:error, :no_object}
   end
 end