Ivan Asmer 5 năm trước cách đây
mục cha
commit
5b50e8b8ea
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      index.js

+ 1 - 1
index.js

@@ -41,7 +41,7 @@ function mmExpandSchema(gqlSchema){
                     }
                 }
                 else {
-                    const nestedTypeName = typeName.slice(0,-6)
+                    const nestedTypeName = typeName.slice(0,-5)
                     console.log('one', nestedTypeName)
                     entity[fieldName] = await argToSavables(value, nestedTypeName, Savable)
                 }