fix(core): update

This commit is contained in:
Philipp Kunz 2023-08-29 12:10:38 +02:00
parent e209839962
commit 4971385eae
2 changed files with 8 additions and 1 deletions

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@apiclient.xyz/elasticsearch',
version: '2.0.12',
version: '2.0.13',
description: 'log to elasticsearch in a kibana compatible format'
}

View File

@ -116,6 +116,13 @@ export class ElasticDoc {
body: documentBody,
});
}
} else {
this.fastForward = false;
await this.client.index({
index: this.index,
id: optionsArg.docId,
body: documentBody,
});
}
this.sessionDocs.add(optionsArg.docId);
}