vendor/github.com/McKael/madon/v3/app.go
changeset 270 df7e9dff1b66
parent 268 4dd196a4ee7c
equal deleted inserted replaced
269:c50e88700432 270:df7e9dff1b66
    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) {