bloom-housing / bloom

component-based web framework for affordable housing management
Apache License 2.0
34 stars 24 forks source link

fix: correctly bind publish job #4313

Closed mcgarrye closed 1 week ago

mcgarrye commented 1 week ago

This PR addresses #(insert-number-here)

Description

Lottery auto publish cron job was incorrectly binded and thus not running. Now correctly binded.

How Can This Be Tested/Reviewed?

Set the LOTTERY_PUBLISH_PROCESSING_CRON_STRING env var to something in the next few minutes and run the api. Verify "WARN autoPublishLotteryResults job running" and "WARN Changed the status of ${number} lotteries" both appear in the console.

Author Checklist:

Review Process:

netlify[bot] commented 1 week ago

Deploy Preview for bloom-exygy-dev ready!

Name Link
Latest commit 7aa57d13c18ecb3b22927b8656ca4d533bb49f9e
Latest deploy log https://app.netlify.com/sites/bloom-exygy-dev/deploys/66e0606902f3820008925280
Deploy Preview https://deploy-preview-4313--bloom-exygy-dev.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] commented 1 week ago

Deploy Preview for partners-bloom-dev ready!

Name Link
Latest commit 7aa57d13c18ecb3b22927b8656ca4d533bb49f9e
Latest deploy log https://app.netlify.com/sites/partners-bloom-dev/deploys/66e0606999f4630008f682ed
Deploy Preview https://deploy-preview-4313--partners-bloom-dev.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

emilyjablonski commented 1 week ago

Makes sense! LGTM after green tests