Add client bonus access flag
This commit is contained in:
@@ -161,12 +161,14 @@ async function upsertClient(index) {
|
||||
update: {
|
||||
fullName: fullNameForIndex(index),
|
||||
role: 'CLIENT',
|
||||
bonusProgramEnabled: index % 2 === 1,
|
||||
companyId: company.id,
|
||||
},
|
||||
create: {
|
||||
email: buildClientEmail(index),
|
||||
fullName: fullNameForIndex(index),
|
||||
role: 'CLIENT',
|
||||
bonusProgramEnabled: index % 2 === 1,
|
||||
companyId: company.id,
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user