Fix lint after merge

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2022-05-02 09:04:57 +02:00
parent 93805dca11
commit d87261a6fb
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -1291,7 +1291,7 @@ defmodule Mobilizon.Events do
query, query,
[q], [q],
(not is_nil(q.ends_on) and q.ends_on > ^begins_on) or (not is_nil(q.ends_on) and q.ends_on > ^begins_on) or
(is_nil(q.ends_on) and q.begins_on >= ^begins_on) (is_nil(q.ends_on) and q.begins_on >= ^begins_on)
) )
end end
end end