File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/main/java/land/leets/domain
application/presentation/dto Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,6 @@ public class ApplicationResponse {
18
18
private Position position ;
19
19
private String career ;
20
20
private LocalDateTime fixedInterviewDate ;
21
- private String hasInterview ;
21
+ private boolean hasInterview ;
22
22
private ApplicationStatus applicationStatus ;
23
23
}
Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ public class GetUserDetailsImpl implements GetUserDetails {
23
23
@ Override
24
24
public UserDetailsResponse execute (AuthDetails authDetails ) {
25
25
26
- String sub = authDetails .getUsername ();
27
- User user = userRepository .findBySub ( sub ).orElseThrow (UserNotFoundException ::new );
26
+ String email = authDetails .getUsername ();
27
+ User user = userRepository .findByEmail ( email ).orElseThrow (UserNotFoundException ::new );
28
28
29
29
Application application = applicationRepository .findByUser_Uid (user .getUid ()).orElse (null );
30
30
You can’t perform that action at this time.
0 commit comments