bruce-models 1.1.7 → 1.1.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.
package/dist/bruce-models.umd.js
CHANGED
|
@@ -2490,7 +2490,7 @@
|
|
|
2490
2490
|
throw ("Entity ID, Type ID, and File ID are required.");
|
|
2491
2491
|
}
|
|
2492
2492
|
const url = `entity/${data["Entity.ID"]}/attachment/${data["EntityAttachmentType.ID"]}/${data["ClientFile.ID"]}`;
|
|
2493
|
-
data = yield api.
|
|
2493
|
+
data = yield api.PUT(url, data, exports.Api.PrepReqParams(reqParams));
|
|
2494
2494
|
api.Cache.Remove(GetCacheKey(data["Entity.ID"], data["EntityAttachmentType.ID"], data["ClientFile.ID"]));
|
|
2495
2495
|
api.Cache.RemoveByStartsWith(GetListCacheKey(data["Entity.ID"]));
|
|
2496
2496
|
return data;
|