Skip to content

Commit

Permalink
Review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
startsev2000 committed Sep 19, 2024
1 parent 96ee38b commit 6908a0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions back-end/src/lms/views/students.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,7 @@ def register_from_applicant(self, request):

# Если студент регистрировался в 2022 или 2023 году, у него нет ИНН и СНИЛСа в системе,
# нужно заполнить
if (
"personal_documents_info" not in request.data
or request.data["personal_documents_info"] is None
):
if request.data.get("personal_documents_info") is None:
request.data["personal_documents_info"] = {
"tax_id": "-",
"insurance_number": "-",
Expand Down
2 changes: 1 addition & 1 deletion front-end/src/components/ApplicantToStudent/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export default {
this.registrationComplete = true;
setTimeout(() => {
this.$router.replace({ name: "Login" });
}, 3000);
}, 7000);
},
},
};
Expand Down

0 comments on commit 6908a0b

Please sign in to comment.