Use correct var name

This commit is contained in:
Hugh Nimmo-Smith 2022-10-13 15:58:19 +01:00
parent 5bff9ceec4
commit b5b32b7fda
1 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ internal class DefaultAuthenticationService @Inject constructor(
private val pendingSessionStore: PendingSessionStore, private val pendingSessionStore: PendingSessionStore,
private val getWellknownTask: GetWellknownTask, private val getWellknownTask: GetWellknownTask,
private val directLoginTask: DirectLoginTask, private val directLoginTask: DirectLoginTask,
private val loginTokenAuthTask: QrLoginTokenTask private val qrLoginTokenTask: QrLoginTokenTask
) : AuthenticationService { ) : AuthenticationService {
private var pendingSessionData: PendingSessionData? = pendingSessionStore.getPendingSessionData() private var pendingSessionData: PendingSessionData? = pendingSessionStore.getPendingSessionData()
@ -412,7 +412,7 @@ internal class DefaultAuthenticationService @Inject constructor(
initialDeviceName: String?, initialDeviceName: String?,
deviceId: String?, deviceId: String?,
): Session { ): Session {
return loginTokenAuthTask.execute( return qrLoginTokenTask.execute(
QrLoginTokenTask.Params( QrLoginTokenTask.Params(
homeServerConnectionConfig = homeServerConnectionConfig, homeServerConnectionConfig = homeServerConnectionConfig,
loginToken = loginToken, loginToken = loginToken,