From b25271546ba811e3f828a4a255538f1414c8e1a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Thierry=20K=C3=A9chichian?= Date: Sat, 9 Dec 2023 18:17:26 +0100 Subject: [PATCH] Missing await async (#14870) --- .../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)