@hapl/api-queries 1.0.0 → 1.0.1--canary.231.8b1452d.0

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.
@@ -4053,8 +4053,12 @@ function findExpertGradesRequest(_ref) {
4053
4053
  var ids = [];
4054
4054
  var byId = {};
4055
4055
  data.data.forEach(function (entity) {
4056
- byId[entity.id] = entity;
4057
- ids.push(entity.id);
4056
+ var _id = nanoid();
4057
+
4058
+ byId[_id] = _extends({}, entity, {
4059
+ _id: _id
4060
+ });
4061
+ ids.push(_id);
4058
4062
  });
4059
4063
  return {
4060
4064
  ids: ids,