From e4653b776ca14635748dfe8d6ef63d535a95fe91 Mon Sep 17 00:00:00 2001 From: FurbyOnSteroids Date: Sat, 16 Aug 2025 12:55:43 +0200 Subject: [PATCH] fix linting --- server/internal/library/index.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/server/internal/library/index.ts b/server/internal/library/index.ts index 45856796..163008d7 100644 --- a/server/internal/library/index.ts +++ b/server/internal/library/index.ts @@ -17,14 +17,14 @@ import type { GameModel } from "~/prisma/client/models"; export function createGameImportTaskId(libraryId: string, libraryPath: string) { const text = `import:${libraryId}:${libraryPath}`; - // base64 can contain "/" which breaks the URL. So we remove it + // base64 can contain "/" which breaks the URL. So we remove it return Buffer.from(text, 'utf8').toString('base64').replaceAll("/", ""); } export function createVersionImportTaskId(gameId: string, versionName: string) { - const text = `import:${gameId}:${versionName}`; - // base64 can contain "/" which breaks the URL. So we remove it - return Buffer.from(text, 'utf8').toString('base64').replaceAll("/", ""); + const text = `import:${gameId}:${versionName}`; + // base64 can contain "/" which breaks the URL. So we remove it + return Buffer.from(text, 'utf8').toString('base64').replaceAll("/", ""); } class LibraryManager { @@ -133,9 +133,9 @@ class LibraryManager { game: e, status: versions ? { - noVersions: e.versions.length == 0, - unimportedVersions: versions, - } + noVersions: e.versions.length == 0, + unimportedVersions: versions, + } : ("offline" as const), }; }),