kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
Fix group factory
rodzic
60875e5dc2
commit
d75920718f
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue