Browse Source

adding females

logicp 5 years ago
parent
commit
c033873357
2 changed files with 4 additions and 9 deletions
  1. 4 3
      src/form.js
  2. 0 6
      src/server/index.js

+ 4 - 3
src/form.js

@@ -40,13 +40,15 @@ const styles = theme => ({
 });
 
 const superheroes = [
-  "Sabre Claus",
   "Rudolph Mistletoe",
+  "Sexy Elf",
   "Mr. Frosty",
+  "Mrs. Claws",
   "Scrooge",
   "John McClane",
-  "Midnight Snacking Gremlin",
+  "Greta Gremlin (the only female gremlin in Gremlins)",
   "Grinch",
+  "Hungry Santa",
   "Tiny Tim",
   "Jesus"
 ];
@@ -54,7 +56,6 @@ const superheroes = [
 const partyHosts = ["In-Young", "Emmanuel"];
 
 const MakeAttendees = attendees => {
-  debugger;
   const items = [];
   if (attendees) {
     for (let i = 0; i < attendees.length; i++) {

+ 0 - 6
src/server/index.js

@@ -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(