Skip to content

Commit 4f862e7

Browse files
Merge pull request #14 from imqueue/fix-invalidating-on-change
Fix invalidating on change
2 parents 168b0cc + 125761a commit 4f862e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PgCache.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ export function PgCache(options: PgCacheOptions): ClassDecorator {
324324

325325
this.pubSub.on('connect', async () => {
326326
await install(
327-
Object.keys(this.pgCacheChannels),
327+
Object.keys(pgChannels),
328328
this.pubSub.pgClient,
329329
triggerDef(options.triggerDefinition),
330330
logger,

0 commit comments

Comments
 (0)