diff --git a/src/db/postgre.ts b/src/db/postgre.ts index 94a19b06b..638d5720b 100644 --- a/src/db/postgre.ts +++ b/src/db/postgre.ts @@ -150,11 +150,9 @@ export function initDb(justBorrow = false, sync = false, log = false) { options: { host: config.redis.host, port: config.redis.port, - options: { - password: config.redis.pass, - prefix: config.redis.prefix, - db: config.redis.db || 0 - } + password: config.redis.pass, + prefix: config.redis.prefix, + db: config.redis.db || 0 } } : false, logging: log,