From e3ac3763abcf68f237b7d0c8245bd7abf4418d72 Mon Sep 17 00:00:00 2001 From: CordonZeus22 Date: Sun, 24 Nov 2024 21:18:25 +0100 Subject: [PATCH] Fix GeneratedBuildListDataManager validate method --- .../src/Database/DataManagers/GeneratedBuildListDataManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/gi/db/src/Database/DataManagers/GeneratedBuildListDataManager.ts b/libs/gi/db/src/Database/DataManagers/GeneratedBuildListDataManager.ts index 2504f913a5..1e82975a23 100644 --- a/libs/gi/db/src/Database/DataManagers/GeneratedBuildListDataManager.ts +++ b/libs/gi/db/src/Database/DataManagers/GeneratedBuildListDataManager.ts @@ -37,7 +37,7 @@ export class GeneratedBuildListDataManager extends DataManager< } else { builds = builds .map((build) => { - if (typeof build !== 'object' || obj === null) return undefined + if (typeof build !== 'object' || build === null) return undefined const { artifactIds: artifactIdsRaw } = build as GeneratedBuild if (typeof artifactIdsRaw !== 'object' || artifactIdsRaw === null) return undefined