From a3c6ef9cc9cb145ccfee5d0313e5a9978098dbd7 Mon Sep 17 00:00:00 2001 From: davidkneipp Date: Thu, 1 Feb 2024 21:57:32 +1000 Subject: [PATCH] API EIR hotfix --- services/apiService.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/apiService.py b/services/apiService.py index e94a047..abe2a0b 100755 --- a/services/apiService.py +++ b/services/apiService.py @@ -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: @@ -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)