bruce-models 0.5.1 → 0.5.3

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.
@@ -2720,14 +2720,14 @@ var EntityRelation;
2720
2720
  url = "entity/" + data["Principal.Entity.ID"] + "/relation/" + data["Relation.Type.ID"] + "/add";
2721
2721
  return [4 /*yield*/, api.POST(url, reqData, Api.PrepReqParams())];
2722
2722
  case 1:
2723
- data = _a.sent();
2723
+ _a.sent();
2724
2724
  api.Cache.RemoveByStartsWith(Api.ECacheKey.Relation + Api.ECacheKey.Id + data["Principal.Entity.ID"]);
2725
2725
  api.Cache.RemoveByStartsWith(Api.ECacheKey.Relation + Api.ECacheKey.Id + data["Related.Entity.ID"]);
2726
2726
  api.Cache.RemoveByStartsWith(Api.ECacheKey.Relation + Api.ECacheKey.RelationType + Api.ECacheKey.Id + data["Relation.Type.ID"]);
2727
2727
  if (data["Data.Entity.ID"]) {
2728
2728
  api.Cache.RemoveByStartsWith(Api.ECacheKey.Relation + Api.ECacheKey.Entity + Api.ECacheKey.Id + data["Data.Entity.ID"]);
2729
2729
  }
2730
- return [2 /*return*/, data];
2730
+ return [2 /*return*/];
2731
2731
  }
2732
2732
  });
2733
2733
  });