mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2025-01-25 08:28:09 +00:00
NsfwApiPolicy: raise if can't fetch user
This commit is contained in:
parent
718e8e1edb
commit
f15d419062
1 changed files with 2 additions and 0 deletions
|
@ -165,6 +165,8 @@ defmodule Pleroma.Web.ActivityPub.MRF.NsfwApiPolicy do
|
|||
object
|
||||
|> Map.put("to", to)
|
||||
|> Map.put("cc", cc)
|
||||
else
|
||||
_ -> raise "[NsfwApiPolicy]: Could not fetch user #{actor}"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue