Revert "Status working page"

This reverts commit a7d34eca09.
This commit is contained in:
shobhitm23 2019-10-25 18:16:07 -04:00
parent a7d34eca09
commit 637c4205af
6 changed files with 5290 additions and 14674 deletions

View File

@ -31,7 +31,7 @@ exports.getallPostsforUser = (req, res) => {
admin.firestore().collection('posts').where('userHandle', '==', 'new user' ).get() admin.firestore().collection('posts').where('userHandle', '==', 'new user' ).get()
.then((data) => { .then((data) => {
let posts = []; let posts = [];
data.forEach((doc) => { data.forEach(function(doc) {
posts.push(doc.data()); posts.push(doc.data());
}); });
return res.status(200).json(posts); return res.status(200).json(posts);

File diff suppressed because it is too large Load Diff

View File

@ -16,8 +16,7 @@
"axios": "^0.19.0", "axios": "^0.19.0",
"firebase": "^6.6.2", "firebase": "^6.6.2",
"firebase-admin": "^8.6.0", "firebase-admin": "^8.6.0",
"firebase-functions": "^3.1.0", "firebase-functions": "^3.1.0"
"firebase-tools": "^7.6.1"
}, },
"devDependencies": { "devDependencies": {
"eslint": "^5.12.0", "eslint": "^5.12.0",

3207
package-lock.json generated

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -16,7 +16,7 @@
"react-dom": "^16.9.0", "react-dom": "^16.9.0",
"react-redux": "^7.1.1", "react-redux": "^7.1.1",
"react-router-dom": "^5.1.0", "react-router-dom": "^5.1.0",
"react-scripts": "^3.2.0", "react-scripts": "0.9.5",
"redux": "^4.0.4", "redux": "^4.0.4",
"redux-thunk": "^2.3.0" "redux-thunk": "^2.3.0"
}, },