From e76a7065369c3a2542fe7e75c54d0f154d81e65f Mon Sep 17 00:00:00 2001 From: Yizack Rangel Date: Wed, 19 Jun 2024 15:02:02 -0500 Subject: [PATCH] chore: trim query --- src/gist.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gist.js b/src/gist.js index 43157ec..677eab4 100644 --- a/src/gist.js +++ b/src/gist.js @@ -46,7 +46,7 @@ export const getGist = async (id) => { Authorization: `Bearer ${process.env.token}` }, body: { - query, + query: query.trim(), variables: { gistId: id }