diff --git a/package-lock.json b/package-lock.json index 9ba25a23..52eeaf26 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,6 +19,7 @@ "dotenv": "^16.0.3", "eslint": "8.36.0", "eslint-config-next": "13.2.4", + "form-data": "^4.0.0", "le-coffre-resources": "git@github.com:smart-chain-fr/leCoffre-resources.git#v2.40", "next": "13.2.4", "prettier": "^2.8.7", @@ -3203,7 +3204,7 @@ } }, "node_modules/le-coffre-resources": { - "resolved": "git+ssh://git@github.com/smart-chain-fr/leCoffre-resources.git#b3d3495c0e65afc0b149d6c07fd5741e144e2aaa", + "resolved": "git+ssh://git@github.com/smart-chain-fr/leCoffre-resources.git#62639b8bfcd0f779357554a04cd40e8a3ba4e62b", "license": "MIT", "dependencies": { "class-transformer": "^0.5.1", diff --git a/src/front/Api/BaseApiService.ts b/src/front/Api/BaseApiService.ts index 2667e83d..289179f5 100644 --- a/src/front/Api/BaseApiService.ts +++ b/src/front/Api/BaseApiService.ts @@ -31,7 +31,6 @@ export default abstract class BaseApiService { } protected buildBody(body: { [key: string]: unknown }): string { - console.log("2 >> body >>>", JSON.stringify(body)); return JSON.stringify(body); } diff --git a/src/front/Components/DesignSystem/UserFolder/index.tsx b/src/front/Components/DesignSystem/UserFolder/index.tsx index 59084cfa..0a42546d 100644 --- a/src/front/Components/DesignSystem/UserFolder/index.tsx +++ b/src/front/Components/DesignSystem/UserFolder/index.tsx @@ -143,7 +143,6 @@ export default class UserFolder extends React.Component { const numberDocumentsAsked: number = this.getDocumentsByStatus(EDocumentStatus.ASKED)?.length || 0; const depositedDocuments: number = totalDocuments - numberDocumentsAsked - numberDocumentsRefused; - console.log(numberDocumentsRefused, numberDocumentsAsked, depositedDocuments, totalDocuments) const percentage = (depositedDocuments / totalDocuments) * 100; return isNaN(percentage) ? 0 : percentage; } diff --git a/src/front/Components/Layouts/ClientDashboard/index.tsx b/src/front/Components/Layouts/ClientDashboard/index.tsx index 6415bb59..d8a6d00e 100644 --- a/src/front/Components/Layouts/ClientDashboard/index.tsx +++ b/src/front/Components/Layouts/ClientDashboard/index.tsx @@ -115,7 +115,6 @@ export default class ClientDashboard extends Base { }, }; const documents: Document[] = await Documents.getInstance().get(query); - console.log({ documents }); this.setState({ documents }); } diff --git a/src/front/Components/Layouts/Folder/AskDocuments/index.tsx b/src/front/Components/Layouts/Folder/AskDocuments/index.tsx index d7b84f44..2987f573 100644 --- a/src/front/Components/Layouts/Folder/AskDocuments/index.tsx +++ b/src/front/Components/Layouts/Folder/AskDocuments/index.tsx @@ -203,7 +203,6 @@ class AskDocumentsClass extends BasePage { ] }); - console.log("Deed : ", deed); await this.loadData(); this.setState({ isCreateDocumentModalVisible: false,