From b819337600f9d15c9d35899f70321c99d960a327 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 12 Jul 2025 19:02:45 +0800 Subject: [PATCH] fix --- src/services/pythonCliAuth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/pythonCliAuth.ts b/src/services/pythonCliAuth.ts index d6f0548..7ddfb64 100644 --- a/src/services/pythonCliAuth.ts +++ b/src/services/pythonCliAuth.ts @@ -167,7 +167,7 @@ class PythonCliAuth { } } - throw new Error(response.error || response.message || 'Registration failed'); + throw new Error(data?.message || 'Registration failed'); } catch (error) { console.error('Registration failed:', error); throw error;