There was a stray $ in the string interpolation (blame working on Typescript for other projects) and the wrong query path.
This doesn't include GitHub Enterprise Closes kemitix/git-next#86