Skip to content

Commit

Permalink
Missing await async (OrchardCMS#14870)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtkech authored and urbanit committed Mar 18, 2024
1 parent 3828794 commit 0047231
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0047231

Please sign in to comment.