@provis/provis-common-be-module 2.1.1 → 2.1.2

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.
@@ -108,9 +108,10 @@ class MainRepository extends typeorm_1.Repository {
108
108
  */
109
109
  searchBracket(searchOr, searchValues) {
110
110
  return __awaiter(this, void 0, void 0, function* () {
111
+ // object searchOr -> searchOr[0]={"portLoadingCodeIn":"ZXY001,ZXY022","portDestinationCodeIn":"ZXY001,ZXY022","source":"KALOG"}&searchOr[1]={"policyNumberIn":"10103092500014,10103092400066"}
111
112
  const result = [];
112
113
  for (const search of searchOr) {
113
- result.push(yield searchValues(search));
114
+ result.push(yield searchValues(JSON.parse(search)));
114
115
  }
115
116
  return result;
116
117
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@provis/provis-common-be-module",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "description": "This common module for Provis internal backend use lib",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {