1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-01 17:38:37 +00:00

Add Nunux Keeper integration

This commit is contained in:
Nicolas Carlier 2018-02-25 19:49:08 +00:00 committed by fguillot
parent 3030145b30
commit 34ce114231
20 changed files with 170 additions and 16 deletions

View file

@ -149,11 +149,12 @@ func (c *Client) buildRequest(method string, body io.Reader) (*http.Request, err
return nil, err
}
request.Header = c.buildHeaders()
if c.username != "" && c.password != "" {
request.SetBasicAuth(c.username, c.password)
}
request.Header = c.buildHeaders()
return request, nil
}