Used correct type when posts aren't rescheduled#27435
Conversation
no ref This change should have no user impact. `PostSchedulerService` expects the list of scheduled resources to be an object, but we sometimes pass it an array. It turns out that was fine in this case (it was using `Object.keys()` which happens to behave the same), but that's not what we intended. Let's fix that.
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|



no ref
This change should have no user impact.
PostSchedulerServiceexpects the list of scheduled resources to be an object, but we sometimes pass it an array. It turns out that was fine in this case (it was usingObject.keys()which happens to behave the same), but that's not what we intended. Let's fix that.