summaryrefslogtreecommitdiff
path: root/packages/backend/src/postgres.ts
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2023-07-31 19:14:20 +0900
committerGitHub <noreply@github.com>2023-07-31 19:14:20 +0900
commit2b4c8c9e0f9c9b25c0829595132650519476972c (patch)
tree51396d8ba9f9fbe8c6c65b7aedd4ab516035f66f /packages/backend/src/postgres.ts
parentenhance(frontend): 押したリアクションのデザインを改善 (#11434) (diff)
downloadsharkey-2b4c8c9e0f9c9b25c0829595132650519476972c.tar.gz
sharkey-2b4c8c9e0f9c9b25c0829595132650519476972c.tar.bz2
sharkey-2b4c8c9e0f9c9b25c0829595132650519476972c.zip
update deps (#11409)
* update deps * Update .eslintrc.js * Update .eslintrc.js * lint * lint * Update update.ts * update deps * Update .eslintrc.js
Diffstat (limited to 'packages/backend/src/postgres.ts')
-rw-r--r--packages/backend/src/postgres.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/backend/src/postgres.ts b/packages/backend/src/postgres.ts
index 45ca364b52..57262f31f0 100644
--- a/packages/backend/src/postgres.ts
+++ b/packages/backend/src/postgres.ts
@@ -232,7 +232,7 @@ export function createPostgresDataSource(config: Config) {
options: {
host: config.redis.host,
port: config.redis.port,
- family: config.redis.family == null ? 0 : config.redis.family,
+ family: config.redis.family ?? 0,
password: config.redis.pass,
keyPrefix: `${config.redis.prefix}:query:`,
db: config.redis.db ?? 0,