mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 08:36:29 +00:00
Apply suggestion to lib/pleroma/web/activity_pub/transmogrifier.ex
This commit is contained in:
parent
0be1fa0a86
commit
288f2b5a7c
1 changed files with 1 additions and 1 deletions
|
@ -1267,7 +1267,7 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier do
|
|||
end
|
||||
|
||||
defp maybe_add_context_from_object(_) do
|
||||
{:error, "No referenced object"}
|
||||
{:error, :no_context}
|
||||
end
|
||||
|
||||
defp maybe_add_recipients_from_object(%{"object" => object} = data) do
|
||||
|
|
Loading…
Reference in a new issue