From 8bb6b22cef4967c1fb331e09134fcf66ca389e2a Mon Sep 17 00:00:00 2001 From: Ismael Bejarano Date: Mon, 2 Dec 2024 23:28:34 -0300 Subject: [PATCH] Update lib/ask/survey.ex MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Matías García Isaía --- lib/ask/survey.ex | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/ask/survey.ex b/lib/ask/survey.ex index d77551fe4..3824b98be 100644 --- a/lib/ask/survey.ex +++ b/lib/ask/survey.ex @@ -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,