From e954f2fe76b36dd34b546837740f302fa98a0b60 Mon Sep 17 00:00:00 2001 From: tone <3341154833@qq.com> Date: Tue, 6 May 2025 22:54:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=99=BB=E5=BD=95controller?= =?UTF-8?q?=E5=AF=B9=E7=99=BB=E5=BD=95=E6=96=B9=E5=BC=8F=E7=9A=84=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tone-page-server/src/auth/auth.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tone-page-server/src/auth/auth.controller.ts b/tone-page-server/src/auth/auth.controller.ts index 09a25e4..3857856 100644 --- a/tone-page-server/src/auth/auth.controller.ts +++ b/tone-page-server/src/auth/auth.controller.ts @@ -19,7 +19,7 @@ export class AuthController { case 'email': return this.authService.loginWithEmail(loginDto); default: - throw new BadRequestException('Invalid login type'); + throw new BadRequestException('服务器错误'); } } }