not-node 6.2.22 → 6.2.23

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "not-node",
3
- "version": "6.2.22",
3
+ "version": "6.2.23",
4
4
  "description": "node complimentary part for client side notFramework.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -245,7 +245,7 @@ module.exports = ({
245
245
  if (shouldOwn) {
246
246
  query[ownerFieldName] = activeUser?._id;
247
247
  }
248
- let populate = getPopulate(action, {
248
+ let populate = await getPopulate(action, {
249
249
  targetId,
250
250
  activeUser,
251
251
  ip,
@@ -335,7 +335,7 @@ module.exports = ({
335
335
  if (shouldOwn) {
336
336
  query[ownerFieldName] = activeUser?._id;
337
337
  }
338
- let populate = getPopulate(action, {
338
+ let populate = await getPopulate(action, {
339
339
  targetID,
340
340
  activeUser,
341
341
  ip,
@@ -664,7 +664,7 @@ module.exports = ({
664
664
  root
665
665
  );
666
666
  const { skip, size, sorter, filter, search } = query;
667
- let populate = getPopulate(action, {
667
+ let populate = await getPopulate(action, {
668
668
  activeUser,
669
669
  ip,
670
670
  });
@@ -728,7 +728,7 @@ module.exports = ({
728
728
  root
729
729
  );
730
730
  const { skip, size, sorter, filter } = query;
731
- let populate = getPopulate(action, {
731
+ let populate = await getPopulate(action, {
732
732
  activeUser,
733
733
  ip,
734
734
  });