Skip to content

Commit

Permalink
chore: correcting sendgrid-go references
Browse files Browse the repository at this point in the history
  • Loading branch information
tiwarishubham635 committed Oct 4, 2024
1 parent e269ed6 commit f4bcb2e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions client/request_handler.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Package client provides internal utilities for the twilio-go client library.
// Package client provides internal utilities for the sendgrid-go client library.
package client

import (
Expand Down Expand Up @@ -54,10 +54,10 @@ func (c *RequestHandler) BuildUrl(rawURL string) (string, error) {
}

if len(pieces) == 4 {
// product.region.twilio.com
// api.region.sendgrid.com
region = pieces[1]
} else if len(pieces) == 5 {
// product.edge.region.twilio.com
// api.edge.region.sendgrid.com - currently not supported in sendgrid
edge = pieces[1]
region = pieces[2]
}
Expand Down
2 changes: 1 addition & 1 deletion client/version.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Package config for config files.
package client

// LibraryVersion specifies the current version of twilio-go.
// LibraryVersion specifies the current version of sendgrid-go.
const LibraryVersion = "1.22.3"

0 comments on commit f4bcb2e

Please sign in to comment.