feat: add party user gender field to schema and implement event joining functionality with gender tracking
This commit is contained in:
@@ -58,6 +58,7 @@ async function partyUser() {
|
||||
status: STATUS[0],
|
||||
role: ROLE[0],
|
||||
isVerified: true,
|
||||
sex: 'F',
|
||||
},
|
||||
});
|
||||
|
||||
@@ -78,6 +79,7 @@ async function partyUser() {
|
||||
isVerified: true,
|
||||
avatarUrl: 'https://images.unsplash.com/photo-1619970096024-c7b438a3b82a',
|
||||
rank: 'user',
|
||||
sex: 'M',
|
||||
},
|
||||
});
|
||||
|
||||
@@ -112,6 +114,7 @@ async function partyUser() {
|
||||
role: ROLE[Math.floor(Math.random() * ROLE.length)],
|
||||
status: STATUS[Math.floor(Math.random() * STATUS.length)],
|
||||
isVerified: true,
|
||||
sex: i % 2 ? 'F' : 'M',
|
||||
},
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user