소스 검색

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
             elseif subType.__type == 'NonNull' then
-              return typeIsSubTypeOf(subType.ofType, superType)
+              return isTypeSubTypeOf(subType.ofType, superType)
             end
 
             if superType.__type == 'List' then