refactor: rename recipients route to people, update all frontend references
This commit is contained in:
@@ -106,7 +106,9 @@ export async function updatePersonUseCase(
|
||||
department,
|
||||
email: email || null,
|
||||
phone: phone || null,
|
||||
...(userId ? { user: { connect: { id: userId } } } : { userId: null }),
|
||||
...(userId
|
||||
? { user: { connect: { id: userId } } }
|
||||
: { userId: null }),
|
||||
},
|
||||
tx,
|
||||
)
|
||||
@@ -124,4 +126,4 @@ export async function updatePersonUseCase(
|
||||
|
||||
throw error
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user