mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
fix(core): Normalize Data Table return on update and allow string returns from DB (no-changelog) (#19106)
This commit is contained in:
@@ -163,9 +163,9 @@ function hasRowReturnData(data: unknown): data is DataStoreRowReturn {
|
||||
'id' in data &&
|
||||
isNumber(data.id) &&
|
||||
'createdAt' in data &&
|
||||
isDate(data.createdAt) &&
|
||||
(isDate(data.createdAt) || typeof data.createdAt === 'string') &&
|
||||
'updatedAt' in data &&
|
||||
isDate(data.updatedAt)
|
||||
(isDate(data.updatedAt) || typeof data.updatedAt === 'string')
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user