correct s3 location and replace incorrect pashub link

This commit is contained in:
Daniel Roth 2026-04-17 10:51:49 +00:00
parent 545b93dc16
commit ed885a6ab3
3 changed files with 4 additions and 2 deletions

View file

@ -113,7 +113,9 @@ def upload_job_to_s3_and_update_db(
return return
base_path = ( base_path = (
f"documents/uprn/{uprn}" if uprn else f"documents/uprn/{hubspot_deal_id}" f"documents/uprn/{uprn}"
if uprn
else f"documents/hubspot_deal_id/{hubspot_deal_id}"
) )
uploaded_files: List[UploadedFile] = [] uploaded_files: List[UploadedFile] = []

View file

@ -20,7 +20,7 @@ if __name__ == "__main__":
) )
wb = load_workbook(filepath, data_only=True) wb = load_workbook(filepath, data_only=True)
ws = wb["filtered"] ws = wb["filtered_2"]
HEADER_ROW = 3 HEADER_ROW = 3