From d17abdcd1152b2a04e97cd9e9d7b4d009bd5e3a3 Mon Sep 17 00:00:00 2001 From: JackEnx <167036558+JackEnx@users.noreply.github.com> Date: Mon, 16 Dec 2024 16:17:46 -0300 Subject: [PATCH] refactor: games id without path get only games objectID --- src/main/services/process-watcher.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/services/process-watcher.ts b/src/main/services/process-watcher.ts index 311400b7..08d513da 100644 --- a/src/main/services/process-watcher.ts +++ b/src/main/services/process-watcher.ts @@ -38,6 +38,9 @@ const gamesIdWithoutPath = async () => { executablePath: IsNull(), isDeleted: false, }, + select: { + objectID: true, + }, }); const gameExecutableIds: string[] = [];