🔀 Merge branch 'toadle-patch-1'

This commit is contained in:
Jan Oberhauser 2021-12-25 11:36:36 +01:00
commit 522de66583
2 changed files with 18 additions and 1 deletions

View file

@ -215,7 +215,10 @@ export class Raindrop implements INodeType {
}; };
delete updateFields.collectionId; delete updateFields.collectionId;
} }
if (updateFields.pleaseParse === true) {
body.pleaseParse = {};
delete updateFields.pleaseParse;
}
if (updateFields.tags) { if (updateFields.tags) {
body.tags = (updateFields.tags as string).split(',').map(tag => tag.trim()) as string[]; body.tags = (updateFields.tags as string).split(',').map(tag => tag.trim()) as string[];
} }

View file

@ -113,6 +113,13 @@ export const bookmarkFields: INodeProperties[] = [
default: 0, default: 0,
description: 'Sort order for the bookmark. For example, to move it to first place, enter 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', displayName: 'Tags',
name: 'tags', name: 'tags',
@ -301,6 +308,13 @@ export const bookmarkFields: INodeProperties[] = [
default: 0, default: 0,
description: 'For example if you want to move bookmark to the first place set this field to 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', displayName: 'Tags',
name: 'tags', name: 'tags',