Browse Source

schema fixes

Ivan Asmer 5 years ago
parent
commit
0046ea9faa
1 changed files with 2 additions and 2 deletions
  1. 2 2
      index.js

+ 2 - 2
index.js

@@ -99,8 +99,8 @@ const upload  = require('multer')({ dest: uploadPath })
         input OrderGoodInput {
             _id: ID,
             count: Int!,
-            good: [GoodInput],
-            order: [OrderInput]
+            good: GoodInput,
+            order: OrderInput
         }
 
         type Order {