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

Commit b7943f18 authored by Nishith  Khanna's avatar Nishith Khanna
Browse files

Merge branch '000-main-ci' into 'main'

fix stadia key not being applied when set as environment variable

See merge request !72
parents 6fd5eee3 0a7aff9f
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) {