Skip to content

Instantly share code, notes, and snippets.

@jreyes
Created May 22, 2020 02:42
Show Gist options
  • Save jreyes/bad99f994491b092f8f80ca08cb1f0c0 to your computer and use it in GitHub Desktop.
Save jreyes/bad99f994491b092f8f80ca08cb1f0c0 to your computer and use it in GitHub Desktop.
/**
* Update the entries for a specific marker
* @param markerId Marker document ID
* @param entry Entry to be added to the marker
*/
updateEntriesForMarker(userKey: string, inmueble: any) {
return this.angularFirestore
.collection('users')
.doc(userKey)
.collection('inmuebles')
.add(inmueble);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment