Merge pull request 'feature/hub-admin-global-access' (#410) from feature/hub-admin-global-access into development
Reviewed-on: ADUANASOFT/anexo76#410
This commit is contained in:
@@ -104,6 +104,8 @@
|
||||
|
||||
// Construir payload limpiando strings vacíos a null
|
||||
const dataToSend = {
|
||||
// Hub admin no tiene tenant_id en token; lo tomamos de la empresa activa
|
||||
tenant_id: companyStore.activeCompany?.tenant_id ?? undefined,
|
||||
name: formData.name.trim(),
|
||||
rfc: formData.rfc.trim(),
|
||||
curp: formData.curp.trim() || null,
|
||||
|
||||
Reference in New Issue
Block a user