From b75b6646d71085cc25c537313790e06bf809b781 Mon Sep 17 00:00:00 2001 From: Dinh Tran Date: Wed, 18 Dec 2024 18:01:19 +0700 Subject: [PATCH] switch to synchronous Flush because XmlTextWriter.FlushAsync throws NotImplementedException --- .../Apis/Public/XmlActionResult.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Commerce.ProductFeeds.Web/Apis/Public/XmlActionResult.cs b/src/Umbraco.Commerce.ProductFeeds.Web/Apis/Public/XmlActionResult.cs index 69bf9b1..5423b75 100644 --- a/src/Umbraco.Commerce.ProductFeeds.Web/Apis/Public/XmlActionResult.cs +++ b/src/Umbraco.Commerce.ProductFeeds.Web/Apis/Public/XmlActionResult.cs @@ -33,7 +33,7 @@ public async Task ExecuteResultAsync(ActionContext context) { writer.Formatting = Formatting; _document.WriteContentTo(writer); - await writer.FlushAsync(); + writer.Flush(); } } catch (Exception ex)