mirror of
https://github.com/ClaytonWWilson/CS307-Team24.git
synced 2026-03-10 21:25:04 +00:00
Left-aligned the text in posts
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user