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