finished rendering userline for user and changed character limit for writing microblogs

This commit is contained in:
Aditya Sankaran
2019-10-02 14:59:18 -04:00
parent 878bb28a71
commit b7f0eba7a9
3 changed files with 40 additions and 17 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) {