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.umd.js
CHANGED
|
@@ -3745,9 +3745,6 @@
|
|
|
3745
3745
|
function Update(params) {
|
|
3746
3746
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3747
3747
|
const { api, tag: data, req: reqParams } = params;
|
|
3748
|
-
if (!(data === null || data === void 0 ? void 0 : data.ID)) {
|
|
3749
|
-
throw ("Tag ID is required.");
|
|
3750
|
-
}
|
|
3751
3748
|
const url = data.ID ? `layer/${data.ID}` : "layer";
|
|
3752
3749
|
const res = yield api.POST(url, data, exports.Api.PrepReqParams(reqParams));
|
|
3753
3750
|
api.Cache.Remove(GetCacheKey(data.ID));
|