@steedos/service-fields-indexs 2.2.52-beta.21 → 2.2.52-beta.22

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/service-fields-indexs",
3
- "version": "2.2.52-beta.21",
3
+ "version": "2.2.52-beta.22",
4
4
  "main": "package.service.js",
5
5
  "license": "MIT",
6
6
  "dependencies": {
@@ -10,5 +10,5 @@
10
10
  "publishConfig": {
11
11
  "access": "public"
12
12
  },
13
- "gitHead": "b31ea478616a5ab135da0e9582ed370be20fb167"
13
+ "gitHead": "52619e601e001d519b3690c0d9dc36737bc20ae0"
14
14
  }
@@ -33,7 +33,7 @@ module.exports = {
33
33
  actions: {
34
34
  refreshIndexes: {
35
35
  async handler(ctx) {
36
- console.log(`refreshIndexes start`);
36
+ this.logger.debug(`refreshIndexes start`);
37
37
  const objects = await ctx.call(`objects.getAll`, {});
38
38
  for await(const object of objects) {
39
39
  const objectAPIName = object.metadata.name;
@@ -59,9 +59,9 @@ module.exports = {
59
59
  console.error(`refresh indexe error: ${matchedPath}`, error);
60
60
  }
61
61
  });
62
- console.log(`refreshIndexes end`);
62
+ this.logger.debug(`refreshIndexes end`);
63
63
  return 'success'
64
- }
64
+ }
65
65
  }
66
66
  },
67
67