diff --git a/index.mjs b/index.mjs index 65a1f71..9cbbf21 100644 --- a/index.mjs +++ b/index.mjs @@ -53,14 +53,13 @@ const server = Server.configure({ body: JSON.stringify({ query: ` query { - get_author_id(user: $user) { + get_author_id(user: "${user}") { id slug user } } `, - variables: { user }, }), }) .then(res => res.json())