Reformatted files with biome.

This commit is contained in:
Mike Cao committed 2025-11-22 22:42:42 -08:00
1 parent d51f0641a6
commit fa8d8055df
558 files changed
+2108 -2379

No files matched your search

+2 -2
View File
@@ -5,12 +5,12 @@ export const KAFKA = 'kafka';
export const KAFKA_PRODUCER = 'kafka-producer';
// Fixes issue with converting bigint values
BigInt.prototype['toJSON'] = function () {
BigInt.prototype.toJSON = function () {
return Number(this);
};
export function getDatabaseType(url = process.env.DATABASE_URL) {
const type = url && url.split(':')[0];
const type = url?.split(':')[0];
if (type === 'postgres') {
return POSTGRESQL;