mirror of
https://github.com/element-hq/element-android
synced 2024-11-27 03:48:12 +03:00
Set default value for optional params
This commit is contained in:
parent
ca7a6efade
commit
ac80ae5632
1 changed files with 2 additions and 2 deletions
|
@ -24,6 +24,6 @@ import org.matrix.android.sdk.api.auth.data.LoginFlowTypes
|
|||
internal data class TokenLoginParams(
|
||||
@Json(name = "type") override val type: String = LoginFlowTypes.TOKEN,
|
||||
@Json(name = "token") val token: String,
|
||||
@Json(name = "initial_device_display_name") override val deviceDisplayName: String?,
|
||||
@Json(name = "device_id") override val deviceId: String?
|
||||
@Json(name = "initial_device_display_name") override val deviceDisplayName: String? = null,
|
||||
@Json(name = "device_id") override val deviceId: String? = null
|
||||
) : LoginParams
|
||||
|
|
Loading…
Reference in a new issue