Skip to content

Commit 5e98547

Browse files
Remove the RC tenant values
Instead, you can just use the "tenant_host" and "tenant_segment" values in the configuration.
1 parent b5fbff2 commit 5e98547

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

client.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -135,12 +135,6 @@ func (c *Client) GenerateToken2020() (*GenerateTokenResponseV2, error) {
135135
tenantHost := "login.emergencyreporting.com"
136136
tenantSegment := "login.emergencyreporting.com"
137137

138-
goLiveDate, _ := time.Parse("2006-01-02", "2020-12-06")
139-
if time.Now().Before(goLiveDate) {
140-
tenantHost = "loginrc.emergencyreporting.com"
141-
tenantSegment = "loginrc.emergencyreporting.com"
142-
}
143-
144138
if c.TenantHost != "" {
145139
tenantHost = c.TenantHost
146140
}

0 commit comments

Comments
 (0)