diff --git a/CHANGELOG.md b/CHANGELOG.md index e11471a63..c7d89c530 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Handled an exception in the export functionality related to platforms - Handled an exception in the benchmark service related to unnamed asset profiles +- Fixed the functionality to delete an asset profile of type currency ## 2.142.0 - 2025-02-28 diff --git a/apps/api/src/app/admin/admin.service.ts b/apps/api/src/app/admin/admin.service.ts index 339cb5be2..7f2b0da5a 100644 --- a/apps/api/src/app/admin/admin.service.ts +++ b/apps/api/src/app/admin/admin.service.ts @@ -117,7 +117,9 @@ export class AdminService { if (customCurrencies.includes(currency)) { const updatedCustomCurrencies = customCurrencies.filter( - (aCurrency) => aCurrency !== currency + (customCurrency) => { + return customCurrency !== currency; + } ); await this.putSetting(