mongoose-sort-encrypted-field
Advanced tools
Comparing version 0.2.9 to 0.2.10
@@ -82,3 +82,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
const fieldValue = document[fieldName]; | ||
yield modelsQueue.addJob(`${this.modelName.model}${sortFieldName}`, { | ||
yield modelsQueue.addJob(`${this.model.modelName}${sortFieldName}`, { | ||
objectId: document._id, | ||
@@ -85,0 +85,0 @@ fieldName, |
{ | ||
"name": "mongoose-sort-encrypted-field", | ||
"version": "0.2.9", | ||
"version": "0.2.10", | ||
"description": "Mongoose plugin to enable sorting on encrypted fields", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -79,3 +79,3 @@ // mongoose is not in package.json to avoid compatibility issues with npm package user | ||
const fieldValue = document[fieldName]; | ||
await modelsQueue.addJob(`${this.modelName.model}${sortFieldName}`, { | ||
await modelsQueue.addJob(`${this.model.modelName}${sortFieldName}`, { | ||
objectId: document._id, | ||
@@ -82,0 +82,0 @@ fieldName, |
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
51391