fix organizationId when setting twilio fields
This commit is contained in:
parent
c0370030ce
commit
9ca0e5d09e
@ -18,7 +18,7 @@ export default resolver.pipe(
|
||||
return;
|
||||
}
|
||||
|
||||
const organizationId = user.memberships[0]!.id;
|
||||
const organizationId = user.memberships[0]!.organizationId;
|
||||
await db.organization.update({
|
||||
where: { id: organizationId },
|
||||
data: {
|
||||
|
Loading…
Reference in New Issue
Block a user