Skip to content

Commit bcdf8e3

Browse files
committed
Fixed broken test
1 parent 8acaa41 commit bcdf8e3

File tree

1 file changed

+1
-1
lines changed
  • firebase-firestore/src/commonMain/kotlin/dev/gitlive/firebase/firestore

1 file changed

+1
-1
lines changed

firebase-firestore/src/commonMain/kotlin/dev/gitlive/firebase/firestore/firestore.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ public data class DocumentReference internal constructor(internal val native: Na
402402
this.encodeDefaults = encodeDefaults
403403
}
404404
}
405-
public suspend inline fun <reified T : Any> set(data: T, merge: Boolean, buildSettings: EncodeSettings.Builder.() -> Unit = {}) {
405+
public suspend inline fun <reified T : Any> set(data: T, merge: Boolean = false, buildSettings: EncodeSettings.Builder.() -> Unit = {}) {
406406
setEncoded(
407407
encodeAsObject(data, buildSettings),
408408
if (merge) SetOptions.Merge else SetOptions.Overwrite,

0 commit comments

Comments
 (0)