Skip to content

Commit a32c98a

Browse files
author
Arthur Amstutz
committed
fix: Regex for service termination email was invalid in the US
1 parent b5f0314 commit a32c98a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ovh/order.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ import (
2020
)
2121

2222
var (
23-
reTerminateEmailToken = regexp.MustCompile(`.*https://www.ovh.com/manager/#/billing/confirmTerminate\?id=[[:alnum:]]+&token=([[:alnum:]]+).*`)
24-
terminateEmailMatch = "https://www.ovh.com/manager/#/billing/confirmTerminate"
23+
reTerminateEmailToken = regexp.MustCompile(`.*/billing/confirmTerminate\?id=[[:alnum:]]+&token=([[:alnum:]]+).*`)
24+
terminateEmailMatch = "/billing/confirmTerminate"
2525
)
2626

2727
func genericOrderSchema(withOptions bool) map[string]*schema.Schema {

0 commit comments

Comments
 (0)