瀏覽代碼

schema fixes

Ivan Asmer 5 年之前
父節點
當前提交
0046ea9faa
共有 1 個文件被更改,包括 2 次插入2 次删除
  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 {