Skip to content

Commit

Permalink
fix query
Browse files Browse the repository at this point in the history
  • Loading branch information
darrensiegel committed Nov 2, 2023
1 parent e590a1e commit 67d7b64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/oli/analytics/datashop.ex
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ defmodule Oli.Analytics.Datashop do
on: activity_revision.id == snapshot.revision_id,
join: part_attempt in Oli.Delivery.Attempts.Core.PartAttempt,
on: snapshot.part_attempt_id == part_attempt.id,
where: snapshot.project_id == ^project_id and !is_nil(snapshot.objective_revision_id),
where: snapshot.project_id == ^project_id and not is_nil(snapshot.objective_revision_id),
select: %{
email: user.email,
sub: user.sub,
Expand Down

0 comments on commit 67d7b64

Please sign in to comment.