Skip to content

Commit

Permalink
API EIR hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkneipp committed Feb 1, 2024
1 parent 3ee87fa commit a3c6ef9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/apiService.py
Original file line number Diff line number Diff line change
Expand Up @@ -1129,7 +1129,7 @@ def get(self, attribute):
#Add device info for each entry
data_w_device_info = []
for record in data:
record['imei_result'] = databaseClient.get_device_info_from_TAC(imei=str(record['imei']))
record['imei_result'] = databaseClient.getTacDataFromImei(imei=str(record['imei']))
data_w_device_info.append(record)
return data_w_device_info, 200
except Exception as E:
Expand Down Expand Up @@ -1181,7 +1181,7 @@ class PyHSS_EIR_TAC(Resource):
def get(self, imei):
'''Get Device Info from IMEI'''
try:
data = databaseClient.get_device_info_from_TAC(imei=imei)
data = databaseClient.getTacDataFromImei(imei=imei)
return (data), 200
except Exception as E:
print(E)
Expand Down

0 comments on commit a3c6ef9

Please sign in to comment.