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
When executing, the code to save the data into firestore works perfectly and creates the hash and all, but the value of query when searching is returned as
Geofirex internally ises RxJs observables. geo.query returns an observable, get converts it to a promise, your snap is actually an array of matched hotels ordered by distance.
I am using geofirex in Firebase Cloud Functions using the following code:
When executing, the code to save the data into firestore works perfectly and creates the hash and all, but the value of query when searching is returned as
res has value undefined.
Does anyone know how to fix this?
The text was updated successfully, but these errors were encountered: