Skip to content

Commit

Permalink
Use integer instead of Boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
withinfocus committed Nov 7, 2024
1 parent 0e8d2eb commit 9d564c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Core/Context/CurrentContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public async virtual Task BuildAsync(HttpContext httpContext, GlobalSettings glo

if (httpContext.Request.Headers.TryGetValue("Is-Prerelease", out var clientVersionIsPrerelease))
{
ClientVersionIsPrerelease = clientVersionIsPrerelease == "true";
ClientVersionIsPrerelease = clientVersionIsPrerelease == "1";
}
}

Expand Down

0 comments on commit 9d564c0

Please sign in to comment.