mirror of
https://github.com/miniflux/v2.git
synced 2025-08-01 17:38:37 +00:00
Consider base path when generating third-party services API endpoint
This commit is contained in:
parent
fb8737e330
commit
13d9d86acd
9 changed files with 87 additions and 60 deletions
|
@ -31,7 +31,7 @@ func NewClient(apiKey string) *Client {
|
|||
// AddEntry sends an entry to Readwise Reader.
|
||||
func (c *Client) AddEntry(link string) error {
|
||||
if c.apiKey == "" {
|
||||
return fmt.Errorf("readwise: missing credentials")
|
||||
return fmt.Errorf("readwise: missing API key")
|
||||
}
|
||||
|
||||
doc := &Document{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue