Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mrz1836 committed Dec 28, 2019
1 parent 38c7b7c commit aa76997
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions definitions.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ const (
fieldAdditionalData = "additional_data"
fieldAdvertiserProfileID = "advertiser_profile_id"
fieldApiKey = "api_key"
fieldCampaignID = "campaign_id"
fieldEmail = "email"
fieldID = "id"
fieldName = "name"
fieldPassword = "password"
fieldPasswordConfirm = "password_confirm"
fieldPhone = "phone"
fieldPhoneCode = "phone_code"
fieldShortCode = "short_code"
fieldToken = "token"
fieldUserID = "user_id"
fieldCampaignID = "campaign_id"
fieldVisitorSessionID = "visitor_session_id"
fieldShortCode = "short_code"

// Model names (used for request endpoints)
modelAdvertiser = "advertisers"
Expand Down
1 change: 0 additions & 1 deletion links.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ func (c *Client) GetLink(linkID uint64, userSessionToken string) (link *Link, er

// CheckLink will check for an existing link with a short_code
// This will return an error if the link is not found (404)
// Use the userSessionToken if making request on behalf of another user
//
// For more information: https://docs.tonicpow.com/#cc9780b7-0d84-4a60-a28f-664b2ecb209b
func (c *Client) CheckLink(shortCode string) (link *Link, err error) {
Expand Down

0 comments on commit aa76997

Please sign in to comment.