From b293c11cdb3053adc5b91898da0603e4b5549b94 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Fri, 23 Oct 2026 20:21:50 +0200 Subject: [PATCH] Bugfix/transaction timeout of presets in market data table of admin control (#8213) * Fix transaction timeout of presets * Update changelog --- CHANGELOG.md | 4 ++++ .../app/endpoints/asset-profiles/asset-profiles.service.ts | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 202ca7382f..6343d58b04 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Improved the language localization for German (`de`) - Upgraded `prettier` from version `3.9.9` to `3.9.10` +### Fixed + +- Fixed a transaction timeout for presets in the historical market data table of the admin control panel + ## 3.90.0 - 2026-10-21 ### Changed diff --git a/apps/api/src/app/endpoints/asset-profiles/asset-profiles.service.ts b/apps/api/src/app/endpoints/asset-profiles/asset-profiles.service.ts index 2aefc4535e..fc0d97fa62 100644 --- a/apps/api/src/app/endpoints/asset-profiles/asset-profiles.service.ts +++ b/apps/api/src/app/endpoints/asset-profiles/asset-profiles.service.ts @@ -582,7 +582,7 @@ export class AssetProfilesService { isUsedByUsersWithSubscription: { compute: async ({ id }) => { const { _count } = - await this.prismaService.symbolProfile.findUnique({ + await this.prismaService.symbolProfile.findFirst({ select: { _count: { select: {