diff --git a/server/src/util.ts b/server/src/util.ts index fc7ad1aa9..4b3732134 100644 --- a/server/src/util.ts +++ b/server/src/util.ts @@ -1,6 +1,5 @@ import { SupportedLanguages } from '@tcgdex/sdk' import { Response } from 'express' -import fs from 'fs' export function checkLanguage(str: string): str is SupportedLanguages { return ['en', 'fr', 'es', 'it', 'pt', 'de'].includes(str)