Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mrz1836 committed Jan 4, 2020
1 parent b442252 commit 237602e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions goals.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ func (c *Client) UpdateGoal(goal *Goal, userSessionToken string) (updatedGoal *G
return
}

// ConvertGoalByGoalID will fire a conversion for a given goal id, if successful it will make a new Conversion
// ConvertGoalByID will fire a conversion for a given goal id, if successful it will make a new Conversion
//
// For more information: https://docs.tonicpow.com/#caeffdd5-eaad-4fc8-ac01-8288b50e8e27
func (c *Client) ConvertGoalByGoalID(goalID uint64, tncpwSession, additionalData string) (conversion *Conversion, err error) {
func (c *Client) ConvertGoalByID(goalID uint64, tncpwSession, additionalData string) (conversion *Conversion, err error) {

// Must have a name
if goalID == 0 {
Expand Down Expand Up @@ -136,10 +136,10 @@ func (c *Client) ConvertGoalByGoalID(goalID uint64, tncpwSession, additionalData
return
}

// ConvertGoalByGoalName will fire a conversion for a given goal name, if successful it will make a new Conversion
// ConvertGoalByName will fire a conversion for a given goal name, if successful it will make a new Conversion
//
// For more information: https://docs.tonicpow.com/#d19c9850-3832-45b2-b880-3ef2f3b7dc37
func (c *Client) ConvertGoalByGoalName(goalName string, tncpwSession, additionalData string) (conversion *Conversion, err error) {
func (c *Client) ConvertGoalByName(goalName, tncpwSession, additionalData string) (conversion *Conversion, err error) {

// Must have a name
if len(goalName) == 0 {
Expand Down Expand Up @@ -175,7 +175,7 @@ func (c *Client) ConvertGoalByGoalName(goalName string, tncpwSession, additional
// ConvertGoalByUserID will fire a conversion for a given goal and user id, if successful it will make a new Conversion
//
// For more information: https://docs.tonicpow.com/#d724f762-329e-473d-bdc4-aebc19dd9ea8
func (c *Client) ConvertGoalByUserID(goalID uint64, userID uint64, additionalData string) (conversion *Conversion, err error) {
func (c *Client) ConvertGoalByUserID(goalID, userID uint64, additionalData string) (conversion *Conversion, err error) {

// Must have a name
if goalID == 0 {
Expand Down

0 comments on commit 237602e

Please sign in to comment.