Removed unneeded comment
This commit is contained in:
parent
e8a5e72e84
commit
4ac0830bee
1 changed files with 0 additions and 2 deletions
|
|
@ -27,8 +27,6 @@ defmodule Pinchflat.Media.MediaQuery do
|
|||
MediaItem
|
||||
end
|
||||
|
||||
# Queries below this line are dynamic query methods (which I want to move to)
|
||||
|
||||
def for_source(source_id) when is_integer(source_id), do: dynamic([mi], mi.source_id == ^source_id)
|
||||
def for_source(source), do: dynamic([mi], mi.source_id == ^source.id)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue