Skip to content

Commit

Permalink
Convert int64 to string
Browse files Browse the repository at this point in the history
  • Loading branch information
Robi9 committed Dec 10, 2024
1 parent bef8ffc commit 26ede37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion services/tickets/zendesk/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"fmt"
"io"
"net/http"
"strconv"
"strings"
"time"

Expand Down Expand Up @@ -365,7 +366,7 @@ func (c *RESTClient) SearchUser(externalID string) (*User, *httpx.Trace, error)

// MergeUser merge two users
func (c *RESTClient) MergeUser(userID int64, unmergedUserID int64) (*User, *httpx.Trace, error) {
endpoint := fmt.Sprintf("users/%s/merge", unmergedUserID)
endpoint := fmt.Sprintf("users/%s/merge", strconv.FormatInt(unmergedUserID, 10))

payload := struct {
User *User `json:"user"`
Expand Down

0 comments on commit 26ede37

Please sign in to comment.