We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f869ab1 commit 069a2ddCopy full SHA for 069a2dd
src/services/MysqlCache.ts
@@ -175,6 +175,6 @@ export class MysqlCache<Scheme> extends MysqlNative<Scheme> {
175
}
176
})
177
178
- if ((!trx as any).__isSafeTransaction) await this.redisCache.mDelete(deleteIds)
+ if (!(trx as any)?.__isSafeTransaction) await this.redisCache.mDelete(deleteIds)
179
180
0 commit comments