Skip to content

Commit

Permalink
fix: update Linkace integration to support API v2
Browse files Browse the repository at this point in the history
  • Loading branch information
MDeLuise authored and fguillot committed Feb 2, 2025
1 parent 6a008ee commit 7bf1dd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/integration/linkace/linkace.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 7bf1dd6

Please sign in to comment.