prepare multiple phone numbers in one account
This commit is contained in:
@ -11,6 +11,7 @@ export default resolver.pipe(
|
||||
enforceSuperAdminIfNotCurrentOrganization,
|
||||
async ({ organizationId }) => {
|
||||
return db.phoneNumber.findFirst({
|
||||
// TODO: use the active number, not the first one
|
||||
where: { organizationId },
|
||||
select: {
|
||||
id: true,
|
||||
|
Reference in New Issue
Block a user