diff --git a/app/src/main/java/com/tutortoise/tutortoise/data/repository/AuthRepository.kt b/app/src/main/java/com/tutortoise/tutortoise/data/repository/AuthRepository.kt index 3300d04..d8a8c63 100644 --- a/app/src/main/java/com/tutortoise/tutortoise/data/repository/AuthRepository.kt +++ b/app/src/main/java/com/tutortoise/tutortoise/data/repository/AuthRepository.kt @@ -65,6 +65,9 @@ class AuthRepository(private val context: Context) { role = role ) ) + + login(email, password) + Result.success(response) } catch (e: HttpException) { val errorBody = ApiConfig.parseError(e.response()!!)