From 1cb99298900ec62a3f56804a1c317ad3766d159a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Niemier?= Date: Mon, 23 Oct 2023 14:12:50 +0200 Subject: [PATCH] fix: remove unneeded Ecto.Query.select/3 calls --- lib/logflare/sources/rules.ex | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/logflare/sources/rules.ex b/lib/logflare/sources/rules.ex index 47a2dcf54..49aad14d5 100644 --- a/lib/logflare/sources/rules.ex +++ b/lib/logflare/sources/rules.ex @@ -73,7 +73,6 @@ defmodule Logflare.Rules do rules = Rule |> where([r], is_nil(r.lql_filters) and not is_nil(r.regex)) - |> select([r], r) |> Repo.all() for rule <- rules do @@ -98,7 +97,6 @@ defmodule Logflare.Rules do rules = Rule |> where([r], not is_nil(r.lql_filters) and not is_nil(r.lql_string)) - |> select([r], r) |> Repo.all() for rule <- rules do