From 724385ee2c354dc1ce2fb6f0b52db69f2e86d70c Mon Sep 17 00:00:00 2001 From: Raj Gupta <150777419+Raj-G07@users.noreply.github.com> Date: Fri, 24 Oct 2025 01:30:54 +0530 Subject: [PATCH] 2nd_try --- CHANGELOG.md | 2 +- apps/client/src/app/services/import-activities.service.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b59cb9207..d8aea0f7b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased -- Refactor Activities interface to ActivitiesResponse interface +- Refactor Activities interface to ActivitiesResponse interface. ### Changed diff --git a/apps/client/src/app/services/import-activities.service.ts b/apps/client/src/app/services/import-activities.service.ts index 3523dfeda..bccda34c1 100644 --- a/apps/client/src/app/services/import-activities.service.ts +++ b/apps/client/src/app/services/import-activities.service.ts @@ -193,7 +193,7 @@ export class ImportActivitiesService { type, unitPrice, updateAccountBalance - }: Activity): CreateOrderDto { + }: ActivityResponse): CreateOrderDto { return { accountId, comment, @@ -453,7 +453,7 @@ export class ImportActivitiesService { }, aIsDryRun = false ) { - return this.http.post<{ activities: Activity[] }>( + return this.http.post<{ activities: ActivityResponse[] }>( `/api/v1/import?dryRun=${aIsDryRun}`, aImportData );