Skip to content
Snippets Groups Projects
Commit da1b948d authored by Olga Golovkina's avatar Olga Golovkina
Browse files

add logging

parent 701744e0
Branches
Tags
No related merge requests found
......@@ -141,11 +141,9 @@ func authRequest(opts requestOpts) (*http.Response, error) {
}
req.Header.Set("Content-Type", "application/json")
req.Header.Set(authToken, opts.tracker.Credentials.Token)
q := req.URL.Query()
q.Add(authToken, opts.tracker.Credentials.Token)
log.DEBUG("token: %v", opts.tracker.Credentials.Token)
req.URL.RawQuery = q.Encode()
......
......@@ -246,7 +246,7 @@ func (c *Client) SetStatus(context.Context, entities.Tracker, entities.ProjectID
// TestRequest for tracker URL
func (c *Client) TestRequest(ctx context.Context, tr entities.Tracker) error {
if tr.URL == `https://projects.zoho.com` {
if tr.URL == `https://projects.zoho.eu` {
return nil
}
return entities.ErrTrackerURL
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment