Compare commits

..

3 Commits

Author SHA1 Message Date
Jaya Surya P a6ec89f1c6
Merge pull request #203 from CDC-IITDH/nitin
fixed download resume error
2024-09-06 22:45:43 +05:30
NitinVangipuram b977053556 fixed download resume error 2024-09-06 18:59:43 +05:30
NitinVangipuram c7a5325ed6 fixed download resume error 2024-09-06 18:58:02 +05:30
1 changed files with 1 additions and 2 deletions

View File

@ -467,8 +467,7 @@ def downloadResume(request, id, email, user_type):
data = request.data
if OPENING_TYPE in data:
opening_type= data[OPENING_TYPE]
else:
opening_type= "Placement"
if opening_type == "Internship":
opening = get_object_or_404(Internship, id=data[OPENING_ID])
applications = InternshipApplication.objects.filter(internship=opening)