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