From 3639ed8f70e74ed167083a9f0c0e9514314cbba4 Mon Sep 17 00:00:00 2001 From: jamesgeorge007 Date: Wed, 20 Nov 2019 18:11:07 +0530 Subject: [PATCH] fix: add async nature --- pages/graphql.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/graphql.vue b/pages/graphql.vue index 8663ca1fe..bd1f6ce0a 100644 --- a/pages/graphql.vue +++ b/pages/graphql.vue @@ -140,7 +140,7 @@ export default { }; }, methods: { - getSchema() { + async getSchema() { const startTime = Date.now(); this.schemaString = "Loading..."; @@ -223,7 +223,7 @@ export default { icon: "error" }); console.log("Error", error); - }); + } } } };