Skip to content

Commit

Permalink
chore: trim query
Browse files Browse the repository at this point in the history
  • Loading branch information
Yizack committed Jun 19, 2024
1 parent ea5caf2 commit e76a706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gist.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const getGist = async (id) => {
Authorization: `Bearer ${process.env.token}`
},
body: {
query,
query: query.trim(),
variables: {
gistId: id
}
Expand Down

0 comments on commit e76a706

Please sign in to comment.