We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents caefc2a + 5809a8c commit 4571e26Copy full SHA for 4571e26
1 file changed
backend/django_backend/scheduling_backend/api/views/survey_views.py
@@ -231,8 +231,8 @@ def survey_file_upload(request: Request) -> Response:
231
#find a teacher entity for given name (assumes name is non_canon)
232
query_gen_dict = {"non_canon": SURVEY_NAME}
233
#NOTE beard said he would email fields
234
- if(data["email"] != ""):
235
- query_gen_dict["email"] = data["email"]
+ # if(data["email"] != ""):
+ # query_gen_dict["email"] = data["email"]
236
#raises an exception if nothing is found
237
teacher = find_teacher(**query_gen_dict)
238
teacher_serializer = TeacherSerializer(teacher)
0 commit comments