Merge branch 'master' into login-frontend

This commit is contained in:
2019-10-03 11:39:38 -04:00
committed by GitHub
11 changed files with 320 additions and 134 deletions

View File

@@ -28,7 +28,7 @@ exports.putPost = (req, res) => {
exports.getallPostsforUser = (req, res) => {
admin.firestore().collection('posts').where('userHandle', '==', 'user' ).get()
admin.firestore().collection('posts').where('userHandle', '==', 'new user' ).get()
.then((data) => {
let posts = [];
data.forEach(function(doc) {