Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

lint

adilson4a565b5a81b0
diff --git a/backend/src/services/delegated-approval/dispatch/delegated-approval-dispatch-consumer.ts b/backend/src/services/delegated-approval/dispatch/delegated-approval-dispatch-consumer.ts
index ec38f5f870..aa6736d8ea 100644
--- a/backend/src/services/delegated-approval/dispatch/delegated-approval-dispatch-consumer.ts
+++ b/backend/src/services/delegated-approval/dispatch/delegated-approval-dispatch-consumer.ts
@@ -303,7 +303,8 @@ export const delegatedApprovalDispatchConsumerFactory = ({
// Events for one request run serially, so two of them cannot both pass the providerRequestId check.
const handle = (events: TEvent[]): Promise<TEventConsumerResult[]> =>
runEventsConcurrentlyByKey(events, {
- keyOf: (event) => DelegatedApprovalDispatchRequestedPayloadSchema.safeParse(event.payload).data?.delegatedRequestId,
+ keyOf: (event) =>
+ DelegatedApprovalDispatchRequestedPayloadSchema.safeParse(event.payload).data?.delegatedRequestId,
concurrency: DELEGATED_APPROVAL_DISPATCH_CONCURRENCY,
handleEvent: $handleEvent
});