use Runtimes constant

This commit is contained in:
sbwalker 2024-02-02 14:38:37 -05:00
parent 310772d7fe
commit e7a48f3909

View File

@ -220,7 +220,7 @@
if (site != null)
{
if (Runtime == "Hybrid" && !site.Hybrid)
if (Runtime == Runtimes.Hybrid && !site.Hybrid)
{
_error = "Hybrid Integration Is Not Enabled For This Site";
return;