mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
⚡ Add _id to simplified version of document:get (#2000)
This commit is contained in:
@@ -133,7 +133,10 @@ export class Elasticsearch implements INodeType {
|
|||||||
const simple = this.getNodeParameter('simple', i) as IDataObject;
|
const simple = this.getNodeParameter('simple', i) as IDataObject;
|
||||||
|
|
||||||
if (simple) {
|
if (simple) {
|
||||||
responseData = responseData._source;
|
responseData = {
|
||||||
|
_id: responseData._id,
|
||||||
|
...responseData._source,
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
} else if (operation === 'getAll') {
|
} else if (operation === 'getAll') {
|
||||||
|
|||||||
Reference in New Issue
Block a user