Skip to content

Commit 2abf720

Browse files
committed
Fixed the case on whatsappSandboxAPIRoot
1 parent 08f2d59 commit 2abf720

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

conversation/api.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const (
1616
// https://conversations.messagebird.com/v1/webhooks).
1717
apiRoot = "https://conversations.messagebird.com/v1"
1818

19-
whatsappSandboxApiRoot = "https://whatsapp-sandbox.messagebird.com/v1"
19+
whatsappSandboxAPIRoot = "https://whatsapp-sandbox.messagebird.com/v1"
2020

2121
// path is the path for the Conversation resource, relative to apiRoot.
2222
path = "conversations"
@@ -222,7 +222,7 @@ const (
222222
func request(c *messagebird.Client, v interface{}, method, path string, data interface{}) error {
223223
var root string
224224
if c.IsFeatureEnabled(messagebird.FeatureConversationsAPIWhatsAppSandbox) {
225-
root = whatsappSandboxApiRoot
225+
root = whatsappSandboxAPIRoot
226226
} else {
227227
root = apiRoot
228228
}

0 commit comments

Comments
 (0)