update post function
This commit is contained in:
		@@ -90,7 +90,7 @@ router.get("/sharedshoppinglists", async function(req, res, next) {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
router.post("/shoppinglist", async function(req, res, next) {
 | 
					router.post("/shoppinglist", async function(req, res, next) {
 | 
				
			||||||
  try {
 | 
					  try {
 | 
				
			||||||
    res.status(200).send(await postgres.newShoppinglist(req.body.name, req.body.description, req.session.passport.user.profile.id));
 | 
					    res.status(200).send(await postgres.newShoppinglist(req.body.name, req.body.description, "testuser"));
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  catch(err) {
 | 
					  catch(err) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user