equal
deleted
inserted
replaced
14 "github.com/pkg/errors" |
14 "github.com/pkg/errors" |
15 "github.com/sendgrid/rest" |
15 "github.com/sendgrid/rest" |
16 ) |
16 ) |
17 |
17 |
18 type registerApp struct { |
18 type registerApp struct { |
19 ID int64 `json:"id,string"` |
19 ID ActivityID `json:"id"` |
20 ClientID string `json:"client_id"` |
20 ClientID string `json:"client_id"` |
21 ClientSecret string `json:"client_secret"` |
21 ClientSecret string `json:"client_secret"` |
22 } |
22 } |
23 |
23 |
24 // buildInstanceURL creates the URL from the instance name or cleans up the |
24 // buildInstanceURL creates the URL from the instance name or cleans up the |
25 // provided URL |
25 // provided URL |
26 func buildInstanceURL(instanceName string) (string, error) { |
26 func buildInstanceURL(instanceName string) (string, error) { |