Skip to content

Commit

Permalink
Update basic auth
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedwaleedmalik committed Jul 30, 2020
1 parent aa5f682 commit 349e8a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jiraservicedesk/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func (c *jiraServiceDeskClient) newRequest(method, path string, body interface{}
}
req.Header.Set("Accept", "application/json")
req.Header.Set("User-Agent", "golang httpClient")
req.SetBasicAuth(c.apiToken, "")
req.SetBasicAuth(c.email, c.apiToken)
return req, nil
}

Expand Down

0 comments on commit 349e8a7

Please sign in to comment.