From e413991e7c3999686e824a26cf0c072adcd179aa Mon Sep 17 00:00:00 2001 From: SepehrYahyaee <7heycallmegray@gmail.com> Date: Sat, 13 Jun 2026 14:05:27 +0330 Subject: [PATCH 1/2] Fixed mock data --- src/sand-hub/sand-hub.service.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/sand-hub/sand-hub.service.ts b/src/sand-hub/sand-hub.service.ts index 1e72169..add1755 100644 --- a/src/sand-hub/sand-hub.service.ts +++ b/src/sand-hub/sand-hub.service.ts @@ -99,8 +99,8 @@ export class SandHubService { InstallDateField: "1403/03/01", AxelNumberField: "2", WheelNumberField: "4", - CompanyName: "بیمه سامان", - CompanyCode: "15", + CompanyName: "بیمه پارسیان", + CompanyCode: "8", IssueDate: "1403/04/06", SatrtDate: "1403/04/06", EndDate: "1404/04/06", @@ -119,7 +119,7 @@ export class SandHubService { TypeNameCii: "فائو ( FAW )", UsageNameCii: "سواري", UsageCodeCii: 1, - ModelCii: 1394, + ModelCii: 2024, damageTypes: [], StatusTypeCode: 1, }; @@ -165,7 +165,7 @@ export class SandHubService { message: "عملیات با موفقیت انجام شد", }; } - + /** * Bodies returned from `makeSandHubRequest` in mock mode (same shape callers expect from real API). */ From 5414d9717e2156ce728576e60264af5d55b0f3fb Mon Sep 17 00:00:00 2001 From: SepehrYahyaee <7heycallmegray@gmail.com> Date: Sat, 13 Jun 2026 14:07:07 +0330 Subject: [PATCH 2/2] Fix --- src/sand-hub/sand-hub.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sand-hub/sand-hub.service.ts b/src/sand-hub/sand-hub.service.ts index add1755..6908a2d 100644 --- a/src/sand-hub/sand-hub.service.ts +++ b/src/sand-hub/sand-hub.service.ts @@ -99,8 +99,8 @@ export class SandHubService { InstallDateField: "1403/03/01", AxelNumberField: "2", WheelNumberField: "4", - CompanyName: "بیمه پارسیان", - CompanyCode: "8", + CompanyName: process.env.CLIENT_NAME, + CompanyCode: `${process.env.CLIENT_ID}`, IssueDate: "1403/04/06", SatrtDate: "1403/04/06", EndDate: "1404/04/06",