Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E2408. Refactor course.rb and course_team.rb models #2752

Open
wants to merge 39 commits into
base: main
Choose a base branch
from

Conversation

dakshmehta23
Copy link

@dakshmehta23 dakshmehta23 commented Mar 15, 2024

Team Members:
Daksh Mehta, (unityID:dmehta4, GitHub:dakshmehta23)
Soham Patil, (unityID:sspatil6, GitHub:ThErOCk07)
Unnati Bukhariya, (unityID:ubukhar2, GitHub:unnzzz)

Mentor:
Ameya Vaichalkar, (unityID:agvaicha, GitHub:ameyagv)

wiki

dakshmehta23 and others added 30 commits March 14, 2024 23:54
remove add_participant from course_team.rb
add add_participant and remove add_member
if options[:has_teamname] == 'true_first' || options[:has_teamname] == 'true_last'
name = row_hash[:teamname].to_s
team = where(['name =? && parent_id =?', name, id]).first
team = where(['name =? && parent_id =?', name, course_id]).first

Check failure

Code scanning / CodeQL

SQL query built from user-controlled sources High

This SQL query depends on a
user-provided value
.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants