From a599afabc42b5a08ee5318a8b130ac2cc2846300 Mon Sep 17 00:00:00 2001 From: jtkech Date: Sat, 9 Dec 2023 09:24:12 +0100 Subject: [PATCH] Missing await async --- .../OrchardCore.DataProtection.Azure/BlobOptionsSetup.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OrchardCore.Modules/OrchardCore.DataProtection.Azure/BlobOptionsSetup.cs b/src/OrchardCore.Modules/OrchardCore.DataProtection.Azure/BlobOptionsSetup.cs index 99017fbc6cc..71de539389f 100644 --- a/src/OrchardCore.Modules/OrchardCore.DataProtection.Azure/BlobOptionsSetup.cs +++ b/src/OrchardCore.Modules/OrchardCore.DataProtection.Azure/BlobOptionsSetup.cs @@ -52,7 +52,7 @@ private async ValueTask ConfigureContainerNameAsync(BlobOptions options) var template = _fluidParser.Parse(options.ContainerName); // Container name must be lowercase. - var containerName = template.Render(templateContext, NullEncoder.Default).ToLower(); + var containerName = (await template.RenderAsync(templateContext, NullEncoder.Default)).ToLower(); options.ContainerName = containerName.Replace("\r", string.Empty).Replace("\n", string.Empty); } catch (Exception e)