Removed unneeded comment

This commit is contained in:
Kieran Eglin 2024-05-19 14:57:29 -07:00
parent e8a5e72e84
commit 4ac0830bee
No known key found for this signature in database
GPG key ID: 193984967FCF432D

View file

@ -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)