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

fix(integration): rename Linkwarden endpoint label to base URL (#3568)

This commit is contained in:
Frédéric Guillot 2025-07-22 20:49:54 -07:00 committed by GitHub
parent b470b186b3
commit 202de7c787
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 27 additions and 27 deletions

View file

@ -37,10 +37,10 @@ func (c *Client) CreateBookmark(entryURL, entryTitle string) error {
requestBody, err := json.Marshal(&linkwardenBookmark{
Url: entryURL,
Name: "",
Name: entryTitle,
Description: "",
Tags: []string{},
Collection: map[string]interface{}{},
Collection: map[string]any{},
})
if err != nil {
@ -72,9 +72,9 @@ func (c *Client) CreateBookmark(entryURL, entryTitle string) error {
}
type linkwardenBookmark struct {
Url string `json:"url"`
Name string `json:"name"`
Description string `json:"description"`
Tags []string `json:"tags"`
Collection map[string]interface{} `json:"collection"`
Url string `json:"url"`
Name string `json:"name"`
Description string `json:"description"`
Tags []string `json:"tags"`
Collection map[string]any `json:"collection"`
}