Merge pull request #203 from CDC-IITDH/nitin
fixed download resume error
This commit is contained in:
commit
a6ec89f1c6
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue