mirror of
https://github.com/miniflux/v2.git
synced 2025-07-27 17:28:38 +00:00
fix: update Linkace integration to support API v2
This commit is contained in:
parent
6a008eee14
commit
7bf1dd6e7a
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ func (c *Client) AddURL(entryURL, entryTitle string) error {
|
|||
return c == ',' || c == ' '
|
||||
}
|
||||
|
||||
apiEndpoint, err := urllib.JoinBaseURLAndPath(c.baseURL, "/api/v1/links")
|
||||
apiEndpoint, err := urllib.JoinBaseURLAndPath(c.baseURL, "/api/v2/links")
|
||||
if err != nil {
|
||||
return fmt.Errorf("linkace: invalid API endpoint: %v", err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue