issue resolved

This commit is contained in:
niteeshchaudhary 2022-05-28 19:21:17 +05:30
parent db025d0259
commit f05e01c092
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ def deleteResume(request, id, email, user_type):
destination_path = STORAGE_DESTINATION_RESUMES + id + "/" + str(file_name) destination_path = STORAGE_DESTINATION_RESUMES + id + "/" + str(file_name)
if path.exists(destination_path): if path.exists(destination_path):
remove(destination_path) #remove(destination_path)
student.resumes.remove(file_name) student.resumes.remove(file_name)
student.save() student.save()
return Response({'action': "Delete Resume", 'message': "Resume Deleted"}, return Response({'action': "Delete Resume", 'message': "Resume Deleted"},