Skip to content
This repository has been archived by the owner on Sep 6, 2022. It is now read-only.

Commit

Permalink
references #55
Browse files Browse the repository at this point in the history
  • Loading branch information
LandonPatmore committed Jul 21, 2020
1 parent a7009f6 commit 0a70465
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shared/src/main/kotlin/shared/EnvVariablesChecker.kt
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ object EnvVariablesChecker {
private fun checkGameKey(env: EnvVariable.Str) {
checkString(env)

when (env.variable) {
"NFL", "NBA", "MLB" -> return
when (env.variable.toLowerCase()) {
"nfl", "nba", "mlb" -> return
else -> throw GameKeyException(env)
}
}
Expand Down

0 comments on commit 0a70465

Please sign in to comment.