Skip to content

Commit 4571e26

Browse files
Merge pull request #113 from RandomCyberCoder/backend
commented out querying by email because he the change hasn't been mad…
2 parents caefc2a + 5809a8c commit 4571e26

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

backend/django_backend/scheduling_backend/api/views/survey_views.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,8 @@ def survey_file_upload(request: Request) -> Response:
231231
#find a teacher entity for given name (assumes name is non_canon)
232232
query_gen_dict = {"non_canon": SURVEY_NAME}
233233
#NOTE beard said he would email fields
234-
if(data["email"] != ""):
235-
query_gen_dict["email"] = data["email"]
234+
# if(data["email"] != ""):
235+
# query_gen_dict["email"] = data["email"]
236236
#raises an exception if nothing is found
237237
teacher = find_teacher(**query_gen_dict)
238238
teacher_serializer = TeacherSerializer(teacher)

0 commit comments

Comments
 (0)