async function findOrganizationInTenant(em, organizationId, tenantId) {
  const rows = await em.getConnection().execute(
    `SELECT slug FROM organizations WHERE id = ? AND tenant_id = ? AND deleted_at IS NULL LIMIT 1`,
    [organizationId, tenantId]
  );
  return rows[0] ?? null;
}
export {
  findOrganizationInTenant
};
//# sourceMappingURL=organizationLookup.js.map
