sequelize-es-decorator
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -43,3 +43,3 @@ const elasticsearch = require('elasticsearch'); | ||
this.client.indices.close({index: `${this.database}_${options.type}`}) | ||
.then(() => this.client.indices.putSettings(this.indexSetting)) | ||
.then(() => this.client.indices.putSettings({index: `${this.database}_${options.type}`, body: this.indexSetting})) | ||
.then(() => this.client.indices.open({index: `${this.database}_${options.type}`})); | ||
@@ -46,0 +46,0 @@ } |
{ | ||
"name": "sequelize-es-decorator", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Decorator for Sequelize models that enables auto-indexing of data that goes through the model.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9342