Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

:bug: Fixed a broken function

Liyas Thomas35a0d509183d
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() {