Browse Source

Fix typo;

bjorn 9 năm trước cách đây
mục cha
commit
b506b98b68
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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