fix: split long from() query to satisfy mix formatter
This commit is contained in:
@@ -92,7 +92,12 @@ defmodule Pinchflat.Media do
|
||||
downloaded_only = Keyword.get(opts, :downloaded_only, false)
|
||||
|
||||
query =
|
||||
from(mi in MediaItem, where: mi.source_id == ^source_id, limit: ^limit, offset: ^offset, order_by: [desc: mi.uploaded_at])
|
||||
from(mi in MediaItem,
|
||||
where: mi.source_id == ^source_id,
|
||||
limit: ^limit,
|
||||
offset: ^offset,
|
||||
order_by: [desc: mi.uploaded_at]
|
||||
)
|
||||
|
||||
query =
|
||||
if downloaded_only do
|
||||
|
||||
Reference in New Issue
Block a user