bruce-models 0.6.4 → 0.6.5
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/dist/bruce-models.es5.js
CHANGED
|
@@ -2573,7 +2573,7 @@ var EntityLod;
|
|
|
2573
2573
|
function Update(api, entityId, params) {
|
|
2574
2574
|
return __awaiter(this, void 0, void 0, function () {
|
|
2575
2575
|
return __generator(this, function (_a) {
|
|
2576
|
-
if (!params["ClientFile.ID"] || !params["LODCategory.Key"] || !params.Level) {
|
|
2576
|
+
if (!params["ClientFile.ID"] || !params["LODCategory.Key"] || (!params.Level && params.Level !== 0)) {
|
|
2577
2577
|
throw ("ClientFile.ID, LODCategory.Key and Level are required.");
|
|
2578
2578
|
}
|
|
2579
2579
|
return [2 /*return*/, api.POST("entity/" + entityId + "/lod/" + params["LODCategory.Key"] + "/" + params.Level, {
|