Request both versions simultaneously

This commit is contained in:
Kirill Kamakin
2022-10-29 18:26:29 +02:00
parent 7702dbebd1
commit f2b20024eb
2 changed files with 27 additions and 17 deletions

View File

@@ -7,9 +7,9 @@ import javax.inject.Singleton
@Singleton
class AuthDataSourceImpl @Inject constructor(
private val V0Source: MealieDataSourceV0,
private val v0Source: MealieDataSourceV0,
) : AuthDataSource {
override suspend fun authenticate(username: String, password: String, baseUrl: String): String =
V0Source.authenticate(baseUrl, username, password)
v0Source.authenticate(baseUrl, username, password)
}