From 06fa0bbe2739aac1d7ca1883a1c5c00aacaa9fa2 Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Wed, 31 Mar 2021 00:54:34 +1100 Subject: [PATCH] tweak --- test/index.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/index.js b/test/index.js index d3545d4..5f2521e 100644 --- a/test/index.js +++ b/test/index.js @@ -256,6 +256,10 @@ const sine = sineQL(schema, { queryHandlers }, { debug: false }); while(true) { const answer = await question('sineQL'); const [code, result] = await sine(answer); - console.dir(result, { depth: null }); + + //normal response + if (code == 200) { + console.dir(result, { depth: null }); + } } })(); \ No newline at end of file