Skip to content

Commit

Permalink
Fix case for FunctionRegion
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-tennert committed May 6, 2024
1 parent 5d3e634 commit 9581231
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@ package io.github.jan.supabase.functions
* @param value The value of the region
*/
enum class FunctionRegion(val value: String) {
Any("any"),
ApNortheast1("ap-northeast-1"),
ApNortheast2("ap-northeast-2"),
ApSouth1("ap-south-1"),
ApSoutheast1("ap-southeast-1"),
ApSoutheast2("ap-southeast-2"),
CaCentral1("ca-central-1"),
EuCentral1("eu-central-1"),
EuWest1("eu-west-1"),
EuWest2("eu-west-2"),
EuWest3("eu-west-3"),
SaEast1("sa-east-1"),
UsEast1("us-east-1"),
UsWest1("us-west-1"),
UsWest2("us-west-2"),
ANY("any"),
AP_NORTHEAST_1("ap-northeast-1"),
AP_NORTHEAST_2("ap-northeast-2"),
AP_SOUTH_1("ap-south-1"),
AP_SOUTHEAST_1("ap-southeast-1"),
AP_SOUTHEAST_2("ap-southeast-2"),
CA_CENTRAL_1("ca-central-1"),
EU_CENTRAL_1("eu-central-1"),
EU_WEST_1("eu-west-1"),
EU_WEST_2("eu-west-2"),
EU_WEST_3("eu-west-3"),
SA_EAST_1("sa-east-1"),
US_EAST_1("us-east-1"),
US_WEST_1("us-west-1"),
US_WEST_2("us-west-2"),
}
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ class Functions(override val config: Config, override val supabaseClient: Supaba
/**
* The default region to use when invoking a function
*/
var defaultRegion: FunctionRegion = FunctionRegion.Any
var defaultRegion: FunctionRegion = FunctionRegion.ANY

}

Expand Down

0 comments on commit 9581231

Please sign in to comment.