We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36e9c30 commit 03ac12cCopy full SHA for 03ac12c
feature/login/src/main/kotlin/com/ninecraft/booket/feature/login/LoginPresenter.kt
@@ -49,8 +49,8 @@ class LoginPresenter @AssistedInject constructor(
49
scope.launch {
50
try {
51
repository.login(event.accessToken)
52
- .onSuccess {
53
- // TODO Token 저장
+ .onSuccess { result ->
+ repository.saveTokens(result.accessToken, result.refreshToken)
54
navigator.resetRoot(HomeScreen)
55
}.onFailure { exception ->
56
exception.message?.let { Logger.e(it) }
0 commit comments