kui-crm_actions 0.0.134 → 0.0.135
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/cjs/index.js +2 -2
- package/cjs/index.js.map +1 -1
- package/index.d.ts +4 -1
- package/index.js +2 -2
- package/index.js.map +1 -1
- package/package.json +1 -1
package/cjs/index.js
CHANGED
@@ -382,10 +382,10 @@ var inspectionsRequests = {
|
|
382
382
|
var _a, res;
|
383
383
|
return __generator(this, function (_b) {
|
384
384
|
switch (_b.label) {
|
385
|
-
case 0: return [4 /*yield*/, to__default["default"](kuiCrm.requests.get("/
|
385
|
+
case 0: return [4 /*yield*/, to__default["default"](kuiCrm.requests.get("/apartments/".concat(apartmentId, "/inspection-types")))];
|
386
386
|
case 1:
|
387
387
|
_a = _b.sent(), _a[0], res = _a[1];
|
388
|
-
return [2 /*return*/, res];
|
388
|
+
return [2 /*return*/, res === null || res === void 0 ? void 0 : res.inspection_types];
|
389
389
|
}
|
390
390
|
});
|
391
391
|
});
|