Skip to content

Commit b93c124

Browse files
committed
Fixed endBefore name
1 parent 1fe9e9e commit b93c124

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,8 @@ fun Query.startAfter(snapshot: DocumentSnapshot) = _startAfter(snapshot)
140140

141141
fun Query.endAt(vararg fieldValues: Any?) = _endAt(*fieldValues.map { encode(it) }.toTypedArray())
142142
fun Query.endAt(snapshot: DocumentSnapshot) = _endAt(snapshot)
143-
fun Query.endAfter(vararg fieldValues: Any?) = _endBefore(*fieldValues.map { encode(it) }.toTypedArray())
144-
fun Query.endAfter(snapshot: DocumentSnapshot) = _endBefore(snapshot)
143+
fun Query.endBefore(vararg fieldValues: Any?) = _endBefore(*fieldValues.map { encode(it) }.toTypedArray())
144+
fun Query.endBefore(snapshot: DocumentSnapshot) = _endBefore(snapshot)
145145

146146
expect class WriteBatch {
147147
inline fun <reified T> set(documentRef: DocumentReference, data: T, encodeDefaults: Boolean = true, merge: Boolean = false): WriteBatch

0 commit comments

Comments
 (0)