Mix format

This commit is contained in:
FloatingGhost 2023-07-20 17:34:05 +01:00
parent 394174c0a9
commit 34601065c3
1 changed files with 6 additions and 5 deletions

View File

@ -919,7 +919,8 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier do
end
def prepare_attachments(object) do
attachments = case Map.get(object, "attachment", []) do
attachments =
case Map.get(object, "attachment", []) do
[_ | _] = list -> list
_ -> []
end