forked from mirrors/akkoma
Mix format
This commit is contained in:
parent
394174c0a9
commit
34601065c3
|
@ -919,7 +919,8 @@ def add_attributed_to(object) do
|
||||||
end
|
end
|
||||||
|
|
||||||
def prepare_attachments(object) do
|
def prepare_attachments(object) do
|
||||||
attachments = case Map.get(object, "attachment", []) do
|
attachments =
|
||||||
|
case Map.get(object, "attachment", []) do
|
||||||
[_ | _] = list -> list
|
[_ | _] = list -> list
|
||||||
_ -> []
|
_ -> []
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue