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

Commit

Permalink
Fix team bug...
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoGresse committed Nov 7, 2023
1 parent 10dcb0a commit 5c202d5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/openplanner/import-speakers-sessions-schedule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ export const importTeam = async (team: TeamMember[]) => {
}
console.log('Importing team...')
const batch = firestore.batch()
batch.set(firestore.collection('team').doc("0"), {
title: "Membre"
})
team.forEach((member, index) => {
batch.set(firestore.collection('team/0/members').doc(member.id), {
name: member.name,
Expand Down

0 comments on commit 5c202d5

Please sign in to comment.