浏览代码

Fix typo;

bjorn 9 年之前
父节点
当前提交
b506b98b68
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      graphql/rules.lua

+ 1 - 1
graphql/rules.lua

@@ -485,7 +485,7 @@ function rules.variableUsageAllowed(node, context)
 
 
               return false
               return false
             elseif subType.__type == 'NonNull' then
             elseif subType.__type == 'NonNull' then
-              return typeIsSubTypeOf(subType.ofType, superType)
+              return isTypeSubTypeOf(subType.ofType, superType)
             end
             end
 
 
             if superType.__type == 'List' then
             if superType.__type == 'List' then