We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b7ad2b6 + 8addf4b commit 9a2578cCopy full SHA for 9a2578c
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