diff --git a/api/api_v1/endpoints/interview.py b/api/api_v1/endpoints/interview.py index ec51875..a150749 100644 --- a/api/api_v1/endpoints/interview.py +++ b/api/api_v1/endpoints/interview.py @@ -135,8 +135,8 @@ def chkData(data): else: remembrance = [] res1['remembrance'] = remembrance - if 'education' in i: - education=i['education'] + if 'education' in res1: + education=res1['education'] res1['education'] = education_dict[education] res_data.append(res1) return res_data