From ab4dd9fb59dec01f1d8d5dbf5e893d98455680f8 Mon Sep 17 00:00:00 2001 From: squall7011 Date: Tue, 21 Nov 2023 09:52:26 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20::?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../example/onui/domain/auth/presentation/AuthController.kt | 6 ++---- .../com/example/onui/domain/auth/service/AuthService.kt | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/main/kotlin/com/example/onui/domain/auth/presentation/AuthController.kt b/src/main/kotlin/com/example/onui/domain/auth/presentation/AuthController.kt index d4c59cc..416bfd5 100644 --- a/src/main/kotlin/com/example/onui/domain/auth/presentation/AuthController.kt +++ b/src/main/kotlin/com/example/onui/domain/auth/presentation/AuthController.kt @@ -60,11 +60,9 @@ class AuthController( .compact() @DeleteMapping - fun signOut() { - authService.signOut() - } + fun signOut() { authService.signOut() } - @PostMapping("/deviece") + @PostMapping("/device") fun applyDevieceToken( @RequestParam(name = "token", required = true) token: String diff --git a/src/main/kotlin/com/example/onui/domain/auth/service/AuthService.kt b/src/main/kotlin/com/example/onui/domain/auth/service/AuthService.kt index f46be30..6fa5e73 100644 --- a/src/main/kotlin/com/example/onui/domain/auth/service/AuthService.kt +++ b/src/main/kotlin/com/example/onui/domain/auth/service/AuthService.kt @@ -7,6 +7,6 @@ interface AuthService { fun reissue(refreshToken: String): TokenResponse fun signOut() - @Transactional + fun applyDeviceToken(token: String) } \ No newline at end of file