src/domain/releases.cjs
BeforeProposed
+1−1
2828
2929function publishDue(state, command) {
3030 const ready = Object.values(state.rooms)
31 .filter(room => room.tenant === command.tenant && room.status === 'scheduled' && room.scheduledAt < command.now)
31 .filter(room => room.tenant === command.tenant && room.status === 'scheduled' && room.scheduledAt <= command.now)
3232 .sort((a, b) => a.scheduledAt - b.scheduledAt || a.id.localeCompare(b.id));
3333 const published = [];
3434 for (const room of ready) {