diff --git a/pages/graphql.vue b/pages/graphql.vue index fd0919f26..4f21ba2d8 100644 --- a/pages/graphql.vue +++ b/pages/graphql.vue @@ -594,7 +594,7 @@ export default { }, resolveRootType(type) { let t = type; - while (t.ofType !== null) t = t.ofType; + while (t.ofType != null) t = t.ofType; return t; }, copySchema() {