Fix group factory

This commit is contained in:
Chewbacca 2023-05-31 08:57:43 -04:00
parent 60875e5dc2
commit d75920718f

View file

@ -40,6 +40,9 @@ function buildCard(props: Partial<Card> = {}): Card {
function buildGroup(props: Partial<Group> = {}): Group {
return groupSchema.parse(Object.assign({
id: uuidv4(),
owner: {
id: uuidv4(),
},
}, props));
}