@7365admin1/core 3.34.4-staging.14 → 3.34.4-staging.15
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.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -33135,7 +33135,7 @@ function useAttendanceRepository() {
|
|
|
33135
33135
|
localField: "user",
|
|
33136
33136
|
foreignField: "_id",
|
|
33137
33137
|
as: "user",
|
|
33138
|
-
pipeline: [{ $project: { name: 1 } }]
|
|
33138
|
+
pipeline: [{ $project: { name: 1, profile: 1 } }]
|
|
33139
33139
|
}
|
|
33140
33140
|
},
|
|
33141
33141
|
{ $unwind: { path: "$user", preserveNullAndEmptyArrays: true } }
|
|
@@ -33149,6 +33149,7 @@ function useAttendanceRepository() {
|
|
|
33149
33149
|
{
|
|
33150
33150
|
$project: {
|
|
33151
33151
|
userName: "$user.name",
|
|
33152
|
+
userProfile: "$user.profile",
|
|
33152
33153
|
checkInTimestamp: "$checkIn.timestamp",
|
|
33153
33154
|
checkOutTimestamp: "$checkOut.timestamp",
|
|
33154
33155
|
createdAt: 1
|