@cool-digital-solutions/interferir-models 1.4.41 → 1.4.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -106,6 +106,7 @@ portiaArticleSchema.index({
106
106
  });
107
107
  portiaArticleSchema.index({ createdBy: 1, updatedBy: 1 });
108
108
  portiaArticleSchema.index({ status: 1, updatedDate: -1 });
109
+ portiaArticleSchema.index({ 'researches.researchId': -1 });
109
110
  portiaArticleSchema.pre('save', function (next) {
110
111
  const user = express_http_context_1.default.get('user');
111
112
  const notUpdatedBy = express_http_context_1.default.get('notUpdatedBy');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cool-digital-solutions/interferir-models",
3
- "version": "1.4.41",
3
+ "version": "1.4.42",
4
4
  "main": "./dist/index.js",
5
5
  "files": [
6
6
  "dist/**/*"