Skip to content

Commit 65311ce

Browse files
authored
Merge pull request #16 from Dalguring/fix/correct-typo
fix: 오타 수정
2 parents d41914a + c8875dc commit 65311ce

File tree

4 files changed

+4
-7
lines changed

4 files changed

+4
-7
lines changed

src/main/java/com/rentify/rentify_api/common/config/SecurityConfig.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package com.rentify.rentify_api.common.config;
22

33
import com.rentify.rentify_api.common.filter.JwtAuthenticationFilter;
4+
import lombok.RequiredArgsConstructor;
45
import org.springframework.context.annotation.Bean;
56
import org.springframework.context.annotation.Configuration;
67
import org.springframework.http.HttpMethod;
@@ -16,14 +17,11 @@
1617

1718
@Configuration
1819
@EnableWebSecurity
20+
@RequiredArgsConstructor
1921
public class SecurityConfig {
2022

2123
private final JwtAuthenticationFilter jwtAuthenticationFilter;
2224

23-
public SecurityConfig(JwtAuthenticationFilter jwtAuthenticationFilter) {
24-
this.jwtAuthenticationFilter = jwtAuthenticationFilter;
25-
}
26-
2725
private static final String[] SWAGGER_WHITELIST = {
2826
"/swagger-ui.html",
2927
"/swagger-ui/**",

src/main/java/com/rentify/rentify_api/user/entity/LoginResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
@Getter
77
@AllArgsConstructor
88
public class LoginResponse {
9+
910
private String accessToken;
1011
private String refreshToken;
11-
1212
}

src/main/java/com/rentify/rentify_api/user/exception/UnauthenticatedException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
public class UnauthenticatedException extends RuntimeException {
44

55
public UnauthenticatedException() {
6-
super("인증되지 않은 사용자입ㄴ디ㅏ.");
6+
super("인증되지 않은 사용자입니다.");
77
}
88
}

src/main/java/com/rentify/rentify_api/user/service/UserService.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ public LoginResponse login(LoginRequest request) {
126126
}
127127

128128
String accessToken = jwtTokenProvider.createAccessToken(user.getId());
129-
130129
String refreshToken = jwtTokenProvider.createRefreshToken(user.getId());
131130

132131
refreshtokenRepository.save(

0 commit comments

Comments
 (0)