mirror of
https://github.com/miniflux/v2.git
synced 2025-09-15 18:57:04 +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
|
@ -23,7 +23,7 @@ func NewClient(authToken string) *Client {
|
|||
// AddBookmark sends a link to Pinboard.
|
||||
func (c *Client) AddBookmark(link, title, tags string, markAsUnread bool) error {
|
||||
if c.authToken == "" {
|
||||
return fmt.Errorf("pinboard: missing credentials")
|
||||
return fmt.Errorf("pinboard: missing auth token")
|
||||
}
|
||||
|
||||
toRead := "no"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue