From 1480e86e3d97e9f90f8b4c33302a61a69594e2c1 Mon Sep 17 00:00:00 2001 From: jerry-mcfly Date: Tue, 22 Mar 2022 14:43:54 +0200 Subject: [PATCH] fix: install --- src/PgCache.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PgCache.ts b/src/PgCache.ts index b3cc30a..04c8ecd 100644 --- a/src/PgCache.ts +++ b/src/PgCache.ts @@ -324,7 +324,7 @@ export function PgCache(options: PgCacheOptions): ClassDecorator { this.pubSub.on('connect', async () => { await install( - Object.keys(this.pgCacheChannels), + Object.keys(pgChannels), this.pubSub.pgClient, triggerDef(options.triggerDefinition), logger,