diff --git a/src/views/LoginView.vue b/src/views/LoginView.vue index c3b0dc5..1a68470 100644 --- a/src/views/LoginView.vue +++ b/src/views/LoginView.vue @@ -63,7 +63,7 @@ async function doLogin(userId: string, password: string) { const res = await fetch('/api/demo/auth/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) {