diff --git a/__tests__/integration/e2e.node.mjs b/__tests__/integration/e2e.node.mjs index 476b68a..7f5bc2f 100644 --- a/__tests__/integration/e2e.node.mjs +++ b/__tests__/integration/e2e.node.mjs @@ -72,7 +72,7 @@ async function login(userId, password = '123456') { const res = await fetch(`${DEMO_AUTH_URL}/login`, { method: 'POST', headers: { 'Content-Type': 'application/json' }, - body: JSON.stringify({ appId: 'ak_demo_chat', userId, password }), + body: JSON.stringify({ appKey: 'ak_demo_chat', userId, password }), }) const json = await res.json() if (json.code !== 200) throw new Error(`Login failed: ${json.message}`)