Skip to content

Commit 9ae03ae

Browse files
use .value
1 parent 87bb543 commit 9ae03ae

File tree

1 file changed

+1
-1
lines changed
  • firebase-database/src/iosMain/kotlin/dev/gitlive/firebase/database

1 file changed

+1
-1
lines changed

firebase-database/src/iosMain/kotlin/dev/gitlive/firebase/database/database.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ actual class DatabaseReference internal constructor(
162162
val deferred = CompletableDeferred<DataSnapshot>()
163163
ios.runTransactionBlock(
164164
block = { firMutableData ->
165-
FIRTransactionResult.successWithValue(transactionUpdate(decode(strategy, firMutableData)) as FIRMutableData)
165+
FIRTransactionResult.successWithValue(transactionUpdate(decode(strategy, firMutableData.value)))
166166
},
167167
andCompletionBlock = { error, _, snapshot ->
168168
if (error != null) {

0 commit comments

Comments
 (0)