mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-12 20:57:45 +02:00
Fix connection reservation logic (#9153)
This commit is contained in:
@@ -179,7 +179,7 @@ export class TriggersMiddleware extends BaseMiddleware implements Middleware {
|
||||
} else {
|
||||
ctx.contextData.asyncRequests = [
|
||||
...(ctx.contextData.asyncRequests ?? []),
|
||||
async () => {
|
||||
async (ctx) => {
|
||||
// In case of async context, we execute both async and sync triggers as sync
|
||||
await this.processAsyncTriggers(ctx, triggerControl, findAll, txes, triggers)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user