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