Skip to content

Commit

Permalink
Fix typo in udc relative URL
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-abtasty committed Jul 9, 2022
1 parent 403bad0 commit abaef30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/utils/udc.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func FetchVisitorData(environmentID string, visitorID string) ([]UDCVisitorRow,
return nil, errors.New("missing UDC_URL env variable")
}

url := fmt.Sprintf("%s/accounts/%s/segme nts/%s", udcUrl, environmentID, visitorID)
url := fmt.Sprintf("%s/accounts/%s/segments/%s", udcUrl, environmentID, visitorID)

httpClient := &http.Client{
Timeout: time.Duration(UDC_TIMEOUT) * time.Millisecond,
Expand Down

0 comments on commit abaef30

Please sign in to comment.