Skip to content

Commit e76a706

Browse files
committed
chore: trim query
1 parent ea5caf2 commit e76a706

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gist.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export const getGist = async (id) => {
4646
Authorization: `Bearer ${process.env.token}`
4747
},
4848
body: {
49-
query,
49+
query: query.trim(),
5050
variables: {
5151
gistId: id
5252
}

0 commit comments

Comments
 (0)