diff --git a/src/front/Components/Layouts/Folder/AddClientToFolder/index.tsx b/src/front/Components/Layouts/Folder/AddClientToFolder/index.tsx index 148e5772..8aa0c509 100644 --- a/src/front/Components/Layouts/Folder/AddClientToFolder/index.tsx +++ b/src/front/Components/Layouts/Folder/AddClientToFolder/index.tsx @@ -211,7 +211,7 @@ class AddClientToFolderClass extends BasePage { contact: values, }); if (!customer.uid) return; - customersToLink?.push({ customer: { uid: customer.uid } } as Partial); + customersToLink?.push({ uid: customer.uid } as Partial); } if (customersToLink) { @@ -220,7 +220,7 @@ class AddClientToFolderClass extends BasePage { return Customer.hydrate(customer); }), }); - + console.log(body); await Folders.getInstance().put(this.props.selectedFolderUid, body); this.props.router.push(`/folders/${this.props.selectedFolderUid}`); }