Left-aligned the text in posts

This commit is contained in:
Aaron Sun
2019-11-29 21:11:10 -08:00
parent 4b440d28de
commit e3593e2f29
3 changed files with 14 additions and 5 deletions

View File

@@ -88,7 +88,7 @@ exports.getFollowedPosts = (req, res) => {
.then(function(allPosts) {
let posts = [];
allPosts.forEach(function(doc) {
if(doc.data().userHandle === req.user.handle || doc.data().userHandle === "Admin") {
if(doc.data().userHandle === req.user.handle) {
posts.push(doc.data());
}
else if(followers_likedTopics.has(doc.data().userHandle)) {