@7365admin1/core 2.55.0 → 2.56.0

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.mjs CHANGED
@@ -23943,7 +23943,7 @@ function useVisitorTransactionService() {
23943
23943
  recNo: value.recNo,
23944
23944
  ...value.block && { block: value.block },
23945
23945
  ...value.level && { level: value.level },
23946
- ...value.unit && { unit: new ObjectId59(value.unit) }
23946
+ ...value.unit && { unit: value.unit }
23947
23947
  };
23948
23948
  await addVehicle(vehiclePayload);
23949
23949
  } else {
@@ -34943,7 +34943,7 @@ function UseAccessManagementRepo() {
34943
34943
  localField: "_id",
34944
34944
  foreignField: "level",
34945
34945
  pipeline: [
34946
- { $match: { status: { $ne: "deleted" } } },
34946
+ { $match: { status: { $ne: "deleted" }, site } },
34947
34947
  { $project: { _id: 1, name: 1 } }
34948
34948
  ],
34949
34949
  as: "units"