@timardex/cluemart-server-shared 2.0.1 → 2.0.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.
@@ -2902,7 +2902,7 @@ async function findEventOrImportedMarketById(resourceId) {
2902
2902
  }
2903
2903
  const normalizedId = convertObjectIdsToStrings(resourceId);
2904
2904
  const [eventDoc, googleImportedDoc] = await Promise.all([
2905
- EventModel.findById(normalizedId).select("_id name dateTime").lean().exec(),
2905
+ EventModel.findById(normalizedId).select("_id name dateTime owner").lean().exec(),
2906
2906
  GoogleImportedMarketModel.findById(normalizedId).select("_id name dateTime").lean().exec()
2907
2907
  ]);
2908
2908
  return eventDoc ?? googleImportedDoc;