@forklaunch/core 1.6.0 → 1.6.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.
@@ -1194,11 +1194,12 @@ function escapeSqlString(value) {
1194
1194
 
1195
1195
  // src/persistence/tenantEm.ts
1196
1196
  function wrapEmWithTenantContext(em, tenantId) {
1197
- if (!tenantId) {
1197
+ if (tenantId === void 0) {
1198
1198
  return em;
1199
1199
  }
1200
- em.setFilterParams("tenant", { tenantId });
1201
- setEncryptionTenantId(tenantId);
1200
+ if (tenantId) {
1201
+ em.setFilterParams("tenant", { tenantId });
1202
+ }
1202
1203
  return new Proxy(em, {
1203
1204
  get(target, prop, receiver) {
1204
1205
  const value = Reflect.get(target, prop, receiver);