Skip to content
This repository was archived by the owner on Feb 10, 2024. It is now read-only.

Commit 1aeb016

Browse files
committed
string -> var
1 parent e5a0674 commit 1aeb016

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Our.Umbraco.DocTypeGridEditor/Web/Controllers/DocTypeGridEditorApiController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public HttpResponseMessage GetPreviewMarkup([FromBody] PreviewData data, [FromUr
161161
// Set the culture for the preview
162162
if (page != null && page.Cultures != null)
163163
{
164-
string currentCulture = string.IsNullOrWhiteSpace(data.Culture) ? page.GetCultureFromDomains() : data.Culture;
164+
var currentCulture = string.IsNullOrWhiteSpace(data.Culture) ? page.GetCultureFromDomains() : data.Culture;
165165
if (currentCulture != null && page.Cultures.ContainsKey(currentCulture))
166166
{
167167
var culture = new CultureInfo(page.Cultures[currentCulture].Culture);

0 commit comments

Comments
 (0)