Skip to content

Commit

Permalink
Update lib/ask/survey.ex
Browse files Browse the repository at this point in the history
Co-authored-by: Matías García Isaía <[email protected]>
  • Loading branch information
ismaelbej and matiasgarciaisaia authored Dec 3, 2024
1 parent ae4a8cf commit 8bb6b22
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/ask/survey.ex
Original file line number Diff line number Diff line change
Expand Up @@ -537,10 +537,6 @@ defmodule Ask.Survey do
where: s.state == :running,
join: pm in ProjectMembership,
on: pm.project_id == s.project_id and pm.user_id == ^user_id,
select: s

query =
from s in subquery(query),
join: group in RespondentGroup,
on: s.id == group.survey_id,
join: rgc in RespondentGroupChannel,
Expand Down

0 comments on commit 8bb6b22

Please sign in to comment.