You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In case there are multiple orderBy clauses, startAt, startAfter, endAt and endBefore query methods expect spread of values, not array of values. You should change this:
if (options.endBefore) {
ref = ref.endBefore(options.endBefore);
}
to something this:
if (options.endBefore) {
if (Array.isArray(options.endBefore)) {
ref = ref.endBefore(...options.endBefore);
} else {
ref = ref.endBefore(options.endBefore);
}
}
The text was updated successfully, but these errors were encountered:
In case there are multiple
orderBy
clauses,startAt
,startAfter
,endAt
andendBefore
query methods expect spread of values, not array of values. You should change this:to something this:
The text was updated successfully, but these errors were encountered: