fix reports

This commit is contained in:
Kenneth Kehl
2025-05-22 08:31:33 -07:00
parent 45f9790b1c
commit 170dc12284

View File

@@ -477,6 +477,11 @@ def get_phone_number_from_s3(service_id, job_id, job_row_number):
current_app.logger.debug("HAVE TO REEXTRACT PHONES!")
phones = extract_phones(job, service_id, job_id)
set_job_cache(f"{job_id}_phones", phones)
print(f"SETTING PHONES TO {phones}")
else:
phones = phones[
0
] # we only want the phone numbers not the cache expiration time
# If we can find the quick dictionary, use it
phone_to_return = phones[job_row_number]