forked from AkkomaGang/akkoma
Fix credo warning
This commit is contained in:
parent
0f1fc382d0
commit
cde828ff7d
1 changed files with 4 additions and 3 deletions
|
@ -35,10 +35,11 @@ def perform(
|
|||
^hrefs
|
||||
)
|
||||
)
|
||||
# The query above can be time consumptive on large instances until we refactor how uploads are stored
|
||||
# The query above can be time consumptive on large instances until we
|
||||
# refactor how uploads are stored
|
||||
|> Repo.all(timout: :infinity)
|
||||
# we should delete 1 object for any given attachment, but don't delete files if
|
||||
# there are more than 1 object for it
|
||||
# we should delete 1 object for any given attachment, but don't delete
|
||||
# files if there are more than 1 object for it
|
||||
|> Enum.reduce(%{}, fn %{
|
||||
id: id,
|
||||
data: %{
|
||||
|
|
Loading…
Reference in a new issue