From 198a3b2335fb6ad774c96802ba3faea4c870532e Mon Sep 17 00:00:00 2001 From: afflogy Date: Wed, 19 Feb 2025 11:30:48 +0900 Subject: [PATCH 1/2] =?UTF-8?q?[REFACT]=20=EC=98=A4=ED=83=80=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/controllers/auth.controller.ts | 2 +- src/swagger/openapi.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controllers/auth.controller.ts b/src/controllers/auth.controller.ts index c91801b..0939db2 100644 --- a/src/controllers/auth.controller.ts +++ b/src/controllers/auth.controller.ts @@ -21,7 +21,7 @@ export class AuthController { const result = await this.authService.login(loginDTO); - return res.status(200).json({ success: true, masseage: result }); + return res.status(200).json({ success: true, massage: result }); } catch (error) { console.error('Login error:', error); return res.status(401).json({ success: false, message: error }); diff --git a/src/swagger/openapi.yaml b/src/swagger/openapi.yaml index e3ade78..ae4880a 100644 --- a/src/swagger/openapi.yaml +++ b/src/swagger/openapi.yaml @@ -5,7 +5,7 @@ info: description: 공각심 API 문서 servers: - url: "http://localhost:3000/" - - url: "http://13.125.231.189:3000/" + - url: "http://13.209.11.7:3000/" components: securitySchemes: From 516ae0c8907beed6670b0a0f5d8e5feb3613bb6f Mon Sep 17 00:00:00 2001 From: afflogy Date: Wed, 19 Feb 2025 11:32:22 +0900 Subject: [PATCH 2/2] =?UTF-8?q?[REFACT]=20=EC=98=A4=ED=83=80=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/controllers/auth.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/auth.controller.ts b/src/controllers/auth.controller.ts index 0939db2..fa61caa 100644 --- a/src/controllers/auth.controller.ts +++ b/src/controllers/auth.controller.ts @@ -21,7 +21,7 @@ export class AuthController { const result = await this.authService.login(loginDTO); - return res.status(200).json({ success: true, massage: result }); + return res.status(200).json({ success: true, message: result }); } catch (error) { console.error('Login error:', error); return res.status(401).json({ success: false, message: error });