bruce-models 0.3.7 → 0.3.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.
@@ -4360,13 +4360,10 @@
4360
4360
  return __generator(this, function (_a) {
4361
4361
  switch (_a.label) {
4362
4362
  case 0:
4363
- if (!(data === null || data === void 0 ? void 0 : data.ID)) {
4364
- data.ID = exports.ObjectUtils.UId();
4365
- }
4366
4363
  if (!(data === null || data === void 0 ? void 0 : data.Title)) {
4367
4364
  data.Title = data.ID;
4368
4365
  }
4369
- return [4 /*yield*/, api.POST("ui.view/" + viewId + "/slide/" + data.ID, data, exports.Api.PrepReqParams())];
4366
+ return [4 /*yield*/, api.POST("ui.view/" + viewId + "/slide/" + (data.ID ? data.ID : ""), data, exports.Api.PrepReqParams())];
4370
4367
  case 1:
4371
4368
  data = _a.sent();
4372
4369
  api.Cache.Remove(GetCacheKey(viewId, data.ID));