We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87bb543 commit 9ae03aeCopy full SHA for 9ae03ae
firebase-database/src/iosMain/kotlin/dev/gitlive/firebase/database/database.kt
@@ -162,7 +162,7 @@ actual class DatabaseReference internal constructor(
162
val deferred = CompletableDeferred<DataSnapshot>()
163
ios.runTransactionBlock(
164
block = { firMutableData ->
165
- FIRTransactionResult.successWithValue(transactionUpdate(decode(strategy, firMutableData)) as FIRMutableData)
+ FIRTransactionResult.successWithValue(transactionUpdate(decode(strategy, firMutableData.value)))
166
},
167
andCompletionBlock = { error, _, snapshot ->
168
if (error != null) {
0 commit comments