fix(e2e): point the simulation at the seeded tenant slug

السكربت أرسل x-tenant-id=tripz بينما المزروع على السيرفر «siro»، فردّ
الـAPI بـ401 Unknown tenant. صار قابلاً للتجاوز عبر TENANT_ID.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Hamza-Ayed
2026-07-18 19:50:46 +03:00
co-authored by Claude Opus 4.8
parent 71f6ab92e4
commit 836c77bb08
+2 -1
View File
@@ -2,7 +2,8 @@ import readline from 'readline';
import { io } from 'socket.io-client'; import { io } from 'socket.io-client';
const API_URL = process.env.API_URL || 'http://localhost:4010/api'; const API_URL = process.env.API_URL || 'http://localhost:4010/api';
const TENANT_ID = 'tripz'; // Change this if you have a different slug // slug المستأجر — «siro» هو المزروع على السيرفر (راجع لوق [Seed] عند الإقلاع).
const TENANT_ID = process.env.TENANT_ID || 'siro';
const rl = readline.createInterface({ const rl = readline.createInterface({
input: process.stdin, input: process.stdin,