[Auth/IdNot] make getOfficeProcessByIdNot return value explicit

This commit is contained in:
Sosthene 2025-09-11 14:16:34 +02:00
parent dfe48d1de9
commit b22eda0399

View File

@ -108,7 +108,7 @@ export default class Auth extends BaseApiService {
} }
} }
public async getOfficeProcessByIdNot(): Promise<any> { 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 baseBackUrl = 'http://localhost:8080';//variables.BACK_API_PROTOCOL + variables.BACK_API_HOST;
const url = new URL(`${baseBackUrl}/api/v1/process/office`); const url = new URL(`${baseBackUrl}/api/v1/process/office`);