Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0a7aff9f authored by Nishith  Khanna's avatar Nishith Khanna
Browse files

fix stadia key not being applied when set as environment variable

parent 6fd5eee3
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ val stadiaKey =
        }
    }.getProperty("stadiaKey", "").ifEmpty {
        val keyFromEnv = System.getenv("STADIA_KEY")
        if (keyFromEnv.isNullOrEmpty()) { keyFromEnv } else { null }
        if (!keyFromEnv.isNullOrEmpty()) { keyFromEnv } else { null }
    }

val defaultPeliasEndpoint = if (stadiaKey != null) {