dt-common-device 7.8.6 → 7.8.8

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.
@@ -55,7 +55,7 @@ class CronicleService {
55
55
  return res.data;
56
56
  }
57
57
  catch (error) {
58
- (0, config_1.getConfig)().LOGGER.error(`Failed to get job: ${error.message}`);
58
+ return null;
59
59
  }
60
60
  }
61
61
  async deleteJob(jobId) {
@@ -224,7 +224,7 @@ let AdminRepository = (() => {
224
224
  const zone = await this.postgres.query(`SELECT * FROM dt_zones WHERE "id" = $1`, [zoneId]);
225
225
  if (zone.rows.length > 0) {
226
226
  const zoneData = zone.rows[0];
227
- const zoneType = await this.postgres.query(`SELECT * FROM dt_zoneTypes WHERE "id" = $1`, [zoneData.zoneTypeId]);
227
+ const zoneType = await this.postgres.query(`SELECT * FROM "dt_zoneTypes" WHERE "id" = $1`, [zoneData.zoneTypeId]);
228
228
  zoneData.zoneType = {
229
229
  id: zoneType.rows[0].id,
230
230
  name: zoneType.rows[0].name,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dt-common-device",
3
- "version": "7.8.6",
3
+ "version": "7.8.8",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [