Skip to content

Commit

Permalink
🔀 Merge branch 'toadle-patch-1'
Browse files Browse the repository at this point in the history
  • Loading branch information
janober committed Dec 25, 2021
2 parents 26eac80 + 9493d72 commit 522de66
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/nodes-base/nodes/Raindrop/Raindrop.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,10 @@ export class Raindrop implements INodeType {
};
delete updateFields.collectionId;
}

if (updateFields.pleaseParse === true) {
body.pleaseParse = {};
delete updateFields.pleaseParse;
}
if (updateFields.tags) {
body.tags = (updateFields.tags as string).split(',').map(tag => tag.trim()) as string[];
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,13 @@ export const bookmarkFields: INodeProperties[] = [
default: 0,
description: 'Sort order for the bookmark. For example, to move it to first place, enter 0.',
},
{
displayName: 'Parse Metadata',
name: 'pleaseParse',
type: 'boolean',
default: false,
description: 'Whether Raindrop should load cover, description and HTML for the URL',
},
{
displayName: 'Tags',
name: 'tags',
Expand Down Expand Up @@ -301,6 +308,13 @@ export const bookmarkFields: INodeProperties[] = [
default: 0,
description: 'For example if you want to move bookmark to the first place set this field to 0',
},
{
displayName: 'Parse Metadata',
name: 'pleaseParse',
type: 'boolean',
default: false,
description: 'Whether Raindrop should reload cover, description and HTML for the URL',
},
{
displayName: 'Tags',
name: 'tags',
Expand Down

0 comments on commit 522de66

Please sign in to comment.