Ivan Asmer 5 tahun lalu
induk
melakukan
94bcc1adfb
1 mengubah file dengan 0 tambahan dan 21 penghapusan
  1. 0 21
      index.js

+ 0 - 21
index.js

@@ -180,9 +180,6 @@ const anonResolvers = ['login', 'createUser'];
                 moneys.push(money)
                 console.log('in loop')
             }
-            //for (let money of event.moneyEvents){
-                //moneys.push(await money)
-            //}
 
             console.log('after loop')
 
@@ -206,24 +203,6 @@ const anonResolvers = ['login', 'createUser'];
 
     }
 
-/*
-mutation createUser($login:String!, $password:String!){
-  createUser(login:$login, password:$password){
-    _id, login    
-  }  
-}
-
-query login($login:String!, $password:String!){
-  login(login:$login, password:$password){
-    _id, login
-  }
-}
- */
-
-
-
-
-
     app.use('/graphql', express_graphql(async (req, res, gql) => { 
         if (gql.operationName === null || anonResolvers.includes(gql.operationName))
             return {