mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-30 13:10:47 +00:00
correctly trigger pashub fetcher
This commit is contained in:
parent
a5bccbd43b
commit
3b989b2494
1 changed files with 4 additions and 4 deletions
|
|
@ -104,10 +104,10 @@ def _trigger_pashub_fetcher(sqs_client: Any, hubspot_deal: Dict[str, str]) -> No
|
||||||
message_body: Dict[str, Optional[str]] = {
|
message_body: Dict[str, Optional[str]] = {
|
||||||
"pashub_link": hubspot_deal["pashub_link"],
|
"pashub_link": hubspot_deal["pashub_link"],
|
||||||
"address": None, # potentially available from Listing, leave as None for now
|
"address": None, # potentially available from Listing, leave as None for now
|
||||||
"sharepoint_link": hubspot_deal["sharepoint_link"],
|
"sharepoint_link": hubspot_deal.get("sharepoint_link", None),
|
||||||
"uprn": hubspot_deal["national_uprn"],
|
"uprn": hubspot_deal.get("national_uprn", None),
|
||||||
"landlord_property_id": hubspot_deal["owner_property_id"],
|
"landlord_property_id": hubspot_deal.get("owner_property_id", None),
|
||||||
"deal_stage": hubspot_deal["deal_stage"],
|
"deal_stage": hubspot_deal.get("deal_stage", None),
|
||||||
}
|
}
|
||||||
|
|
||||||
response = sqs_client.send_message(
|
response = sqs_client.send_message(
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue