From 6714af554958ecd01fb7f9c3367be0244a3e7c37 Mon Sep 17 00:00:00 2001 From: j <13580441+gary02@users.noreply.github.com> Date: Tue, 16 Jul 2024 09:41:01 +0800 Subject: [PATCH] refactor: minor --- README.md | 1 + lib/notification/index.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ab3721b..313f74c 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ feat(lambda): multiple lambda handlers in one repo - [x] sync-ga4-data - [x] archive-user - [x] daily-summary-email +- [x] notification ## Dependencies diff --git a/lib/notification/index.ts b/lib/notification/index.ts index e4e5e99..c7fc0a8 100644 --- a/lib/notification/index.ts +++ b/lib/notification/index.ts @@ -45,7 +45,7 @@ export class NotificationService { public constructor({ knexRO, knex }: { knexRO: Knex; knex: Knex }) { this.knexRO = knexRO - this.knex = knex ?? knexRO + this.knex = knex } /**