mirror of
https://github.com/ClaytonWWilson/CS307-Team24.git
synced 2026-03-10 21:25:04 +00:00
added get request userline function
This commit is contained in:
@@ -24,8 +24,9 @@ app.post('/updateProfileInfo', updateProfileInfo);
|
||||
/*------------------------------------------------------------------*
|
||||
* handlers/post.js *
|
||||
*------------------------------------------------------------------*/
|
||||
const {putPost} = require('./handlers/post');
|
||||
const {putPost, getallPostsforUser} = require('./handlers/post');
|
||||
|
||||
app.get('/getallPostsforUser', getallPostsforUser);
|
||||
|
||||
// Adds one post to the database
|
||||
app.post('/putPost', fbAuth, putPost);
|
||||
|
||||
Reference in New Issue
Block a user