Closed daisycrego closed 3 years ago
Finished adding the feature back in, synced the events back with the API when the system was down as a test run. Note: No emails are sent during a sync because it's no longer valid to compare the date the lead came in the to the day it was created using today
when today
isn't really the today
that the lead came in.
Add the
Sync Events
button back to theEvents
page. When there are lapses in data collection via the webhooks, we need an extra way to retrieve the events data and catch up on missed events if the webhook worker process is down for some reason (eg Heroku issues...). Make sure that theSync Events
button works by checking only for events that aren't already in the DB, by paginating back through the data until an event is found that already matches an event in the db (match by ID). Don't overwrite any existing data. Make sure the zillow flex alert emails are sent.