bruce-models 0.5.1 → 0.5.2

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.
@@ -2649,14 +2649,14 @@
2649
2649
  url = "entity/" + data["Principal.Entity.ID"] + "/relation/" + data["Relation.Type.ID"] + "/add";
2650
2650
  return [4 /*yield*/, api.POST(url, reqData, exports.Api.PrepReqParams())];
2651
2651
  case 1:
2652
- data = _a.sent();
2652
+ _a.sent();
2653
2653
  api.Cache.RemoveByStartsWith(exports.Api.ECacheKey.Relation + exports.Api.ECacheKey.Id + data["Principal.Entity.ID"]);
2654
2654
  api.Cache.RemoveByStartsWith(exports.Api.ECacheKey.Relation + exports.Api.ECacheKey.Id + data["Related.Entity.ID"]);
2655
2655
  api.Cache.RemoveByStartsWith(exports.Api.ECacheKey.Relation + exports.Api.ECacheKey.RelationType + exports.Api.ECacheKey.Id + data["Relation.Type.ID"]);
2656
2656
  if (data["Data.Entity.ID"]) {
2657
2657
  api.Cache.RemoveByStartsWith(exports.Api.ECacheKey.Relation + exports.Api.ECacheKey.Entity + exports.Api.ECacheKey.Id + data["Data.Entity.ID"]);
2658
2658
  }
2659
- return [2 /*return*/, data];
2659
+ return [2 /*return*/];
2660
2660
  }
2661
2661
  });
2662
2662
  });