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 }