From 6e20a23f00a38406f408c50065614a7e3fd4da5a Mon Sep 17 00:00:00 2001 From: Maxime Lalo Date: Tue, 11 Jul 2023 09:54:37 +0200 Subject: [PATCH] :sparkles: Fixing front get requests --- src/front/Components/Layouts/Folder/FolderInformation/index.tsx | 2 +- .../Layouts/FolderArchived/FolderInformation/index.tsx | 2 +- src/front/Components/Layouts/Login/index.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/front/Components/Layouts/Folder/FolderInformation/index.tsx b/src/front/Components/Layouts/Folder/FolderInformation/index.tsx index 3e5e4c5a..4f335c3b 100644 --- a/src/front/Components/Layouts/Folder/FolderInformation/index.tsx +++ b/src/front/Components/Layouts/Folder/FolderInformation/index.tsx @@ -189,7 +189,7 @@ class FolderInformationClass extends BasePage { q: { deed: { include: { deed_type: true } }, office: true, - customer: { + customers: { include: { contact: true, documents: { diff --git a/src/front/Components/Layouts/FolderArchived/FolderInformation/index.tsx b/src/front/Components/Layouts/FolderArchived/FolderInformation/index.tsx index 127287cd..e681b9da 100644 --- a/src/front/Components/Layouts/FolderArchived/FolderInformation/index.tsx +++ b/src/front/Components/Layouts/FolderArchived/FolderInformation/index.tsx @@ -140,7 +140,7 @@ class FolderInformationClass extends BasePage { q: { deed: { include: { deed_type: "true" } }, office: "true", - customer: { include: { contact: true } }, + customers: { include: { contact: true } }, }, }; const folder = await Folders.getInstance().getByUid(this.props.selectedFolderUid, query); diff --git a/src/front/Components/Layouts/Login/index.tsx b/src/front/Components/Layouts/Login/index.tsx index 27a5b0a4..9dfdfd8c 100644 --- a/src/front/Components/Layouts/Login/index.tsx +++ b/src/front/Components/Layouts/Login/index.tsx @@ -35,7 +35,7 @@ export default class LoginClass extends BasePage { // const variables = FrontendVariables.getInstance(); // const baseFronturl = variables.BACK_API_PROTOCOL + variables.FRONT_APP_HOST; - await UserStore.instance.connect("U5eUoGpRu4"); + await UserStore.instance.connect("SbRKyM8BJI"); // await JwtService.getInstance().checkJwt(); // window.location.assign("http://localhost:3000" + "/folders");