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.
@@ -4493,13 +4493,10 @@ var ProjectViewBookmark;
4493
4493
  return __generator(this, function (_a) {
4494
4494
  switch (_a.label) {
4495
4495
  case 0:
4496
- if (!(data === null || data === void 0 ? void 0 : data.ID)) {
4497
- data.ID = ObjectUtils.UId();
4498
- }
4499
4496
  if (!(data === null || data === void 0 ? void 0 : data.Title)) {
4500
4497
  data.Title = data.ID;
4501
4498
  }
4502
- return [4 /*yield*/, api.POST("ui.view/" + viewId + "/slide/" + data.ID, data, Api.PrepReqParams())];
4499
+ return [4 /*yield*/, api.POST("ui.view/" + viewId + "/slide/" + (data.ID ? data.ID : ""), data, Api.PrepReqParams())];
4503
4500
  case 1:
4504
4501
  data = _a.sent();
4505
4502
  api.Cache.Remove(GetCacheKey(viewId, data.ID));