Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(scripts): update auth mock route to return user object

Steven Enamakel22fb6731fb42
diff --git a/scripts/mock-api/routes/auth.mjs b/scripts/mock-api/routes/auth.mjs
index b7f53f9936..10b8dd74cb 100644
--- a/scripts/mock-api/routes/auth.mjs
+++ b/scripts/mock-api/routes/auth.mjs
@@ -13,7 +13,7 @@ export async function handleAuth(ctx) {
// Login-token consume. The core POSTs to `/auth/login-token/consume` with the
// token in a JSON body `{ token, audience? }` and parses `{ success, data: { jwt } }`
- // (see crates/openhuman-core/src/api/rest.rs `consume_login_token`). The legacy path-param route
+ // (see crates/openhuman-tinyhumans/src/session/client.rs `consume_login_token`). The legacy path-param route
// `/telegram/login-tokens/:token/consume` was removed backend-side but is kept
// here as a harmless alias in case an older client is exercised.
if (