Browse Source

Bugfix/handle exception in benchmark service related to unnamed asset profiles (#4355)

* Handle exception in benchmark service related to unnamed asset profiles 

* Update changelog
pull/4379/head
Matt Fiddaman 3 weeks ago
committed by GitHub
parent
commit
6cdcf9622e
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      CHANGELOG.md
  2. 4
      apps/api/src/services/benchmark/benchmark.service.ts

4
CHANGELOG.md

@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Improved the symbol lookup in the _Trackinsight_ data enhancer for asset profile data
### Fixed
- Handled an exception in the benchmark service related to unnamed asset profiles
## 2.142.0 - 2025-02-28
### Added

4
apps/api/src/services/benchmark/benchmark.service.ts

@ -133,7 +133,9 @@ export class BenchmarkService {
symbol
};
})
.sort((a, b) => a.name.localeCompare(b.name));
.sort((a, b) => {
return a.name?.localeCompare(b?.name) ?? 0;
});
}
public async addBenchmark({

Loading…
Cancel
Save