File tree 1 file changed +0
-7
lines changed
src/main/java/org/sopt/app/facade
1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change 22
22
23
23
@ Service
24
24
@ RequiredArgsConstructor
25
- @ Slf4j
26
25
public class AuthFacade {
27
26
28
27
private final JwtTokenService jwtTokenService ;
@@ -39,15 +38,9 @@ public AppAuthResponse loginWithPlayground(CodeRequest codeRequest) {
39
38
playgroundToken , playgroundInfo .getId ()
40
39
);
41
40
Long latestGeneration = playgroundProfile .getLatestActivity ().getGeneration ();
42
- log .error ("latestGeneration: {}" , latestGeneration );
43
- log .error ("playgroundProfile.getGeneration: {}" , playgroundProfile .getLatestActivity ().getGeneration ());
44
41
Long userId = userService .upsertUser (LoginInfo .of (playgroundInfo , playgroundToken ));
45
42
soptampUserService .upsertSoptampUser (playgroundProfile , userId );
46
43
47
- // if (playgroundAuthService.isCurrentGeneration(latestGeneration)){
48
- // soptampUserService.upsertSoptampUser(playgroundProfile, userId);
49
- // }
50
-
51
44
AppToken appToken = jwtTokenService .issueNewTokens (userId , playgroundInfo .getId ());
52
45
return AppAuthResponse .builder ()
53
46
.playgroundToken (playgroundToken )
You can’t perform that action at this time.
0 commit comments