mirror of
https://github.com/avinal/nikki.git
synced 2026-07-03 21:40:09 +05:30
Remove stale no-op statement in AuthRepository.login
Co-Authored-By: Claude Opus 4.6 (1M context) Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>
This commit is contained in:
@@ -20,7 +20,6 @@ class AuthRepository(
|
||||
val isLoggedIn: Flow<Boolean> = tokenStore.accessToken.map { it != null }
|
||||
|
||||
suspend fun login(serverUrl: String, token: String): ApiResult<User> {
|
||||
val originalBaseUrl = apiClient.baseUrlProvider
|
||||
val tempClient = MemosApiClient(
|
||||
httpClient = com.avinal.memos.api.HttpClientFactory.create { token },
|
||||
baseUrlProvider = { serverUrl },
|
||||
|
||||
Reference in New Issue
Block a user