mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 20:24:05 -08:00
⚡ Add _id to simplified version of document:get (#2000)
This commit is contained in:
parent
3aec53e2cc
commit
b531f31512
|
@ -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') {
|
||||||
|
|
Loading…
Reference in a new issue