From e4ef2d87e8705a38340a5d33132a93f13ee1ff14 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Thu, 27 Feb 2025 20:24:53 +0100 Subject: [PATCH] Refactoring --- apps/api/src/app/export/export.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/api/src/app/export/export.service.ts b/apps/api/src/app/export/export.service.ts index b3fae699c..8d7585c01 100644 --- a/apps/api/src/app/export/export.service.ts +++ b/apps/api/src/app/export/export.service.ts @@ -50,8 +50,8 @@ export class ExportService { Platform: platform }) => { if ( - !platforms.some(({ id: currentId }) => { - return currentId === platform.id; + !platforms.some(({ id: currentPlatformId }) => { + return currentPlatformId === platform.id; }) ) { platforms.push(platform);