Skip to content
This repository has been archived by the owner on Oct 26, 2024. It is now read-only.

Commit

Permalink
Update getSpeakersSessionsSchedule.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoGresse authored Mar 31, 2024
1 parent 1b284e8 commit 712f397
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/openplanner/getSpeakersSessionsSchedule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ export const getSpeakersSessionsSchedule = async (payload: {
console.log('Grouping sessions')
const groupedSessions = sortedSessions.reduce<Record<string, object[]>>((acc, talk: any) => {
if (!talk.dateStart) {
acc[""] = acc[""] || []
acc[""].push(talk)
//acc[""] = acc[""] || []
//acc[""].push(talk)
return acc
}
const day = new Date(talk.dateStart).toISOString().split('T')[0]
Expand Down

0 comments on commit 712f397

Please sign in to comment.