From 0fa1fb819e1039112ae0253e53d3a2baf0b96589 Mon Sep 17 00:00:00 2001 From: Niclas Blomberg Date: Fri, 23 Aug 2024 12:43:38 +0200 Subject: [PATCH] feat(Geo): change us-east to vin --- database/database.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/database/database.go b/database/database.go index 06318f81..e95a8c84 100644 --- a/database/database.go +++ b/database/database.go @@ -56,14 +56,14 @@ type IDatabaseService interface { type Geo string const ( - UsEast Geo = "us-east" - RBX Geo = "rbx" + VIN Geo = "vin" + RBX Geo = "rbx" ) func parseGeoFromEnv() (Geo, error) { geo := os.Getenv("GEO") switch geo { - case string(UsEast), string(RBX): + case string(VIN), string(RBX): return Geo(geo), nil default: return "", fmt.Errorf("invalid GEO value: %s", geo)