mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
⚡ Add parameter include time when setting field type date on Notion node (#1879)
* ⚡ Add parameter include time when setting field type date Fixes issue #1878 * Fix issue with date format
This commit is contained in:
@@ -158,7 +158,7 @@ export class Notion implements INodeType {
|
||||
const databases = await notionApiRequestAllItems.call(this, 'results', 'POST', `/search`, body);
|
||||
for (const database of databases) {
|
||||
returnData.push({
|
||||
name: database.title[0].plain_text,
|
||||
name: database.title[0]?.plain_text || database.id,
|
||||
value: database.id,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user