Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
darrensiegel committed Aug 19, 2024
1 parent 9c0ec91 commit 8bfe9a3
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions lib/oli/activities/realizer/query/builder.ex
Original file line number Diff line number Diff line change
Expand Up @@ -226,11 +226,4 @@ defmodule Oli.Activities.Realizer.Query.Builder do
"jsonb_path_exists(objectives, '$.** ? (#{id_filter})')"
end

defp build_objectives_conjunction(objective_ids) do
clauses =
Enum.map(objective_ids, fn id -> build_objectives_disjunction([id]) end)
|> Enum.join(" AND ")

"#{clauses}"
end
end

0 comments on commit 8bfe9a3

Please sign in to comment.