Compare commits

...

3 Commits

Author SHA1 Message Date
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
Jaya Surya P 5e53859f52
Merge pull request #202 from CDC-IITDH/nitin
changes to downloadresume
2024-09-05 16:06:15 +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)