bruce-models 1.7.9 → 1.8.0
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
|
@@ -3844,9 +3844,6 @@ var EntityTag;
|
|
|
3844
3844
|
function Update(params) {
|
|
3845
3845
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3846
3846
|
const { api, tag: data, req: reqParams } = params;
|
|
3847
|
-
if (!(data === null || data === void 0 ? void 0 : data.ID)) {
|
|
3848
|
-
throw ("Tag ID is required.");
|
|
3849
|
-
}
|
|
3850
3847
|
const url = data.ID ? `layer/${data.ID}` : "layer";
|
|
3851
3848
|
const res = yield api.POST(url, data, Api.PrepReqParams(reqParams));
|
|
3852
3849
|
api.Cache.Remove(GetCacheKey(data.ID));
|