fix(core): update
This commit is contained in:
parent
e5fd0361fc
commit
49c4660131
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@apiclient.xyz/elasticsearch',
|
name: '@apiclient.xyz/elasticsearch',
|
||||||
version: '2.0.8',
|
version: '2.0.9',
|
||||||
description: 'log to elasticsearch in a kibana compatible format'
|
description: 'log to elasticsearch in a kibana compatible format'
|
||||||
}
|
}
|
||||||
|
@ -107,7 +107,6 @@ export class ElasticDoc {
|
|||||||
if (this.onlyNew) {
|
if (this.onlyNew) {
|
||||||
if (this.latestTimestamp && optionsArg.timestamp <= this.latestTimestamp) {
|
if (this.latestTimestamp && optionsArg.timestamp <= this.latestTimestamp) {
|
||||||
// Omit the document
|
// Omit the document
|
||||||
return;
|
|
||||||
} else {
|
} else {
|
||||||
await this.client.index({
|
await this.client.index({
|
||||||
index: this.index,
|
index: this.index,
|
||||||
|
Loading…
Reference in New Issue
Block a user