Skip to content

Commit d42be7a

Browse files
committed
Fixes for nested query parsing and MFA route authentication types
1 parent 2766e15 commit d42be7a

File tree

6 files changed

+2
-189
lines changed

6 files changed

+2
-189
lines changed

β€Ždocs/examples/java/users/delete-authenticator.mdβ€Ž

Lines changed: 0 additions & 24 deletions
This file was deleted.

β€Ždocs/examples/java/users/list-providers.mdβ€Ž

Lines changed: 0 additions & 21 deletions
This file was deleted.

β€Ždocs/examples/kotlin/users/delete-authenticator.mdβ€Ž

Lines changed: 0 additions & 16 deletions
This file was deleted.

β€Ždocs/examples/kotlin/users/list-providers.mdβ€Ž

Lines changed: 0 additions & 13 deletions
This file was deleted.

β€Žlibrary/src/main/java/io/appwrite/models/Session.ktβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ data class Session(
161161
* Returns a list of active session factors.
162162
*/
163163
@SerializedName("factors")
164-
val factors: Long,
164+
val factors: List<Any>,
165165

166166
/**
167167
* Secret used to authenticate the user. Only included if the request was made with an API key
@@ -231,7 +231,7 @@ data class Session(
231231
countryCode = map["countryCode"] as String,
232232
countryName = map["countryName"] as String,
233233
current = map["current"] as Boolean,
234-
factors = (map["factors"] as Number).toLong(),
234+
factors = map["factors"] as List<Any>,
235235
secret = map["secret"] as String,
236236
)
237237
}

β€Žlibrary/src/main/java/io/appwrite/services/Users.ktβ€Ž

Lines changed: 0 additions & 113 deletions
This file was deleted.

0 commit comments

Comments
Β (0)