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:
parent
b470b186b3
commit
202de7c787
21 changed files with 27 additions and 27 deletions
|
@ -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"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue