From 4d034a383667ca8f9bc8b211288c48e6067a94e3 Mon Sep 17 00:00:00 2001 From: apurvabhale Date: Mon, 8 Apr 2024 13:57:11 -0700 Subject: [PATCH] Pass in the cancellation token to BatchAndTransactions call --- .../Controllers/FhirController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.Health.Fhir.Shared.Api/Controllers/FhirController.cs b/src/Microsoft.Health.Fhir.Shared.Api/Controllers/FhirController.cs index bec6efc0f7..18cc6096cc 100644 --- a/src/Microsoft.Health.Fhir.Shared.Api/Controllers/FhirController.cs +++ b/src/Microsoft.Health.Fhir.Shared.Api/Controllers/FhirController.cs @@ -665,7 +665,7 @@ public async Task Versions() [AuditEventType(AuditEventSubType.BundlePost)] public async Task BatchAndTransactions([FromBody] Resource bundle) { - ResourceElement bundleResponse = await _mediator.PostBundle(bundle.ToResourceElement()); + ResourceElement bundleResponse = await _mediator.PostBundle(bundle.ToResourceElement(), HttpContext.RequestAborted); return FhirResult.Create(bundleResponse); }