diff --git a/backend/UserConfig.ts b/backend/UserConfig.ts index 96267bb..614928d 100644 --- a/backend/UserConfig.ts +++ b/backend/UserConfig.ts @@ -123,7 +123,7 @@ export class UserConfig { if (!Checkers.sql.mySql.port(config.database.options.port)) throw new Error('Invalid database port'); if (config.database.kind == 'postgres') { if (!Checkers.sql.postgres.port((config.database.options as PostgresConfiguration).port)) { - throw new Error("Invalid database port"); + throw new Error('Invalid database port'); } } } else throw new Error('Database options missing'); diff --git a/backend/routers/index.ts b/backend/routers/index.ts index d17d712..890cdb2 100644 --- a/backend/routers/index.ts +++ b/backend/routers/index.ts @@ -99,7 +99,7 @@ router.post('/', rateLimiterMiddleware("upload", UserConfig.config?.rateLimit?.u }) }) } catch (err) { - log.warn("Failed to send request to Discord webhook"); + log.warn('Failed to send request to Discord webhook'); console.error(err); } } catch (err) {