Created
May 22, 2020 02:42
-
-
Save jreyes/bad99f994491b092f8f80ca08cb1f0c0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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