chore: single apostrophe

pull/250/head
William Harrison 5 months ago
parent ad37dca7a1
commit 2e3fe23e72

@ -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');

@ -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) {

Loading…
Cancel
Save