goldstars-services 1.0.58 → 1.0.59
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.
|
@@ -151,7 +151,7 @@ var getBikeAvailabilityForSlot = /*#__PURE__*/function () {
|
|
|
151
151
|
location // Filter by location as well for efficiency
|
|
152
152
|
// Optional: Add status filter if needed
|
|
153
153
|
// status: 'confirmed',
|
|
154
|
-
}).populate('userId', '
|
|
154
|
+
}).populate('userId', 'firstName lastName email') // Populate user firstName, lastName, and email
|
|
155
155
|
.lean();
|
|
156
156
|
|
|
157
157
|
// 3. Create a map of reserved bike IDs for quick lookup
|