bruce-models 2.6.3 → 2.6.4
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
|
@@ -6274,7 +6274,7 @@
|
|
|
6274
6274
|
api.Cache.Remove(GetCacheKey(attachments[i].ID));
|
|
6275
6275
|
}
|
|
6276
6276
|
}
|
|
6277
|
-
api.Cache.Remove(GetListCacheKey(entityId));
|
|
6277
|
+
yield api.Cache.Remove(GetListCacheKey(entityId));
|
|
6278
6278
|
return {
|
|
6279
6279
|
attachments: res.attachments
|
|
6280
6280
|
};
|
|
@@ -6312,7 +6312,8 @@
|
|
|
6312
6312
|
throw ("Entity id and attachment id.");
|
|
6313
6313
|
}
|
|
6314
6314
|
yield api.DELETE(`entity/${entityId}/attachments/${attachmentId}`, exports.Api.PrepReqParams(req));
|
|
6315
|
-
api.Cache.Remove(GetCacheKey(attachmentId));
|
|
6315
|
+
yield api.Cache.Remove(GetCacheKey(attachmentId));
|
|
6316
|
+
yield api.Cache.Remove(GetListCacheKey(params.entityId));
|
|
6316
6317
|
});
|
|
6317
6318
|
}
|
|
6318
6319
|
EntityAttachment.Delete = Delete;
|