We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6b4df8e + af9f1c3 commit 8addf4bCopy full SHA for 8addf4b
1 file changed
apps/app/src/jobs/tasks/onboarding/onboard-organization.ts
@@ -46,7 +46,9 @@ export const onboardOrganization = task({
46
const owner = await db.member.findFirst({
47
where: {
48
organizationId: payload.organizationId,
49
- role: 'owner',
+ role: {
50
+ contains: 'owner',
51
+ },
52
},
53
});
54
0 commit comments