mirror of
https://github.com/miniflux/v2.git
synced 2025-09-30 19:22:11 +00:00
feat(integration): add tags option for karakeep integration
fix missing comma Move tags attachment to own function
This commit is contained in:
parent
8adcaed29e
commit
6ed12151d2
28 changed files with 143 additions and 17 deletions
|
@ -222,6 +222,7 @@ func (s *Storage) Integration(userID int64) (*model.Integration, error) {
|
|||
karakeep_enabled,
|
||||
karakeep_api_key,
|
||||
karakeep_url,
|
||||
karakeep_tags,
|
||||
linktaco_enabled,
|
||||
linktaco_api_token,
|
||||
linktaco_org_slug,
|
||||
|
@ -348,6 +349,7 @@ func (s *Storage) Integration(userID int64) (*model.Integration, error) {
|
|||
&integration.KarakeepEnabled,
|
||||
&integration.KarakeepAPIKey,
|
||||
&integration.KarakeepURL,
|
||||
&integration.KarakeepTags,
|
||||
&integration.LinktacoEnabled,
|
||||
&integration.LinktacoAPIToken,
|
||||
&integration.LinktacoOrgSlug,
|
||||
|
@ -483,14 +485,15 @@ func (s *Storage) UpdateIntegration(integration *model.Integration) error {
|
|||
karakeep_enabled=$110,
|
||||
karakeep_api_key=$111,
|
||||
karakeep_url=$112,
|
||||
linktaco_enabled=$113,
|
||||
linktaco_api_token=$114,
|
||||
linktaco_org_slug=$115,
|
||||
linktaco_tags=$116,
|
||||
linktaco_visibility=$117,
|
||||
archiveorg_enabled=$118
|
||||
karakeep_tags=$113,
|
||||
linktaco_enabled=$114,
|
||||
linktaco_api_token=$115,
|
||||
linktaco_org_slug=$116,
|
||||
linktaco_tags=$117,
|
||||
linktaco_visibility=$118,
|
||||
archiveorg_enabled=$119
|
||||
WHERE
|
||||
user_id=$119
|
||||
user_id=$120
|
||||
`
|
||||
_, err := s.db.Exec(
|
||||
query,
|
||||
|
@ -606,6 +609,7 @@ func (s *Storage) UpdateIntegration(integration *model.Integration) error {
|
|||
integration.KarakeepEnabled,
|
||||
integration.KarakeepAPIKey,
|
||||
integration.KarakeepURL,
|
||||
integration.KarakeepTags,
|
||||
integration.LinktacoEnabled,
|
||||
integration.LinktacoAPIToken,
|
||||
integration.LinktacoOrgSlug,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue