@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.
package/dist/index.cjs CHANGED
@@ -2978,7 +2978,7 @@ async function findEventOrImportedMarketById(resourceId) {
2978
2978
  }
2979
2979
  const normalizedId = convertObjectIdsToStrings(resourceId);
2980
2980
  const [eventDoc, googleImportedDoc] = await Promise.all([
2981
- EventModel.findById(normalizedId).select("_id name dateTime").lean().exec(),
2981
+ EventModel.findById(normalizedId).select("_id name dateTime owner").lean().exec(),
2982
2982
  GoogleImportedMarketModel.findById(normalizedId).select("_id name dateTime").lean().exec()
2983
2983
  ]);
2984
2984
  return eventDoc ?? googleImportedDoc;