Merge pull request #71 from Hestia-Homes/feature/month_end_automation

fix error
This commit is contained in:
Jun-te Kim 2025-08-04 17:28:59 +01:00 committed by GitHub
commit 179ac3a92c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -24,11 +24,11 @@ deals = hubspotClient.get_deals_from_deal_stage(DealStage.FILES_MISSING_FROM_ASS
for deal in deals:
hubspotClient.move_deals_to_different_stage([deal.deal_id], DealStage.SURVEYED_COMPLETED_SIGNED_OFF)
hubspotClient.move_deals_to_different_stage([deal.deal_id], DealStage.SURVEYED_COMPLETED_SIGNED_OFF.value)
# Survyed_complete
deals = hubspotClient.get_deals_from_deal_stage(DealStage.SURVEYED_COMPLETE_NEEDS_SIGN_OFF)
for deal in deals:
hubspotClient.move_deals_to_different_stage([deal.deal_id], DealStage.SURVEYED_COMPLETED_SIGNED_OFF)
hubspotClient.move_deals_to_different_stage([deal.deal_id], DealStage.SURVEYED_COMPLETED_SIGNED_OFF.value)