mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
🐛 Fix bug and add improvements to Notion (#2750)
* 🐛 Fix bug when filtering columns type number * 🐛 Fix issue with date filtering * ⚡ Enable file support in v2 * ⚡ Remvoe spaces when using comma-seperated relation ids * 🐛 Fix issue that removes url and id when downloading data * ⚡ Filter out bots when loading users
This commit is contained in:
@@ -126,10 +126,12 @@ export class NotionV1 implements INodeType {
|
||||
const returnData: INodePropertyOptions[] = [];
|
||||
const users = await notionApiRequestAllItems.call(this, 'results', 'GET', '/users');
|
||||
for (const user of users) {
|
||||
returnData.push({
|
||||
name: user.name,
|
||||
value: user.id,
|
||||
});
|
||||
if (user.type === 'person') {
|
||||
returnData.push({
|
||||
name: user.name,
|
||||
value: user.id,
|
||||
});
|
||||
}
|
||||
}
|
||||
return returnData;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user