|
@@ -52,10 +52,6 @@ class App {
|
|
|
/* This is just to get up and running, and to make sure what we've got is
|
|
|
* working so far. This function will change when we start to add more
|
|
|
* API endpoints */
|
|
|
- this.express.get("/test", (req, res) => {
|
|
|
- console.log(req);
|
|
|
- res.json({ response: "yo mamma" });
|
|
|
- });
|
|
|
|
|
|
this.express.get("/list", (req, res) => {
|
|
|
Attendee.findAll().then(attendees => {
|
|
@@ -71,8 +67,6 @@ class App {
|
|
|
name: req.body.name
|
|
|
}
|
|
|
}).spread(attendee => {
|
|
|
- console.log("Attendee!!:");
|
|
|
- console.log(req.body);
|
|
|
attendee.guest = req.body.guest;
|
|
|
attendee.superhero = req.body.superhero;
|
|
|
Attendee.update(
|