From b22eda0399dc48f6b2ad827943156bcbbb3c0a3f Mon Sep 17 00:00:00 2001 From: Sosthene Date: Thu, 11 Sep 2025 14:16:34 +0200 Subject: [PATCH] [Auth/IdNot] make getOfficeProcessByIdNot return value explicit --- src/front/Api/Auth/IdNot/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/front/Api/Auth/IdNot/index.ts b/src/front/Api/Auth/IdNot/index.ts index c88dc77f..a4c3ae7b 100644 --- a/src/front/Api/Auth/IdNot/index.ts +++ b/src/front/Api/Auth/IdNot/index.ts @@ -108,7 +108,7 @@ export default class Auth extends BaseApiService { } } - public async getOfficeProcessByIdNot(): Promise { + public async getOfficeProcessByIdNot(): Promise<{ success: boolean; data: { processId: string, processData: { [key: string]: any } } }> { const baseBackUrl = 'http://localhost:8080';//variables.BACK_API_PROTOCOL + variables.BACK_API_HOST; const url = new URL(`${baseBackUrl}/api/v1/process/office`);