Closed mz-pdm closed 2 years ago
Thanks for your report! It seems to be caused by a server-side change in the github side. I've pushed the fix in a1d35f5633d7181371e795e3f98c900ba5845bb6, please let me know if there's any other problems
Thanks for the fixes, it seems to work.
When I try to submit a review, e.g. using COMMENT action, it fails with: pr-review--execute-graphql: Error while making graphql request add-review: nil: Variable $input of type AddPullRequestReviewInput! was provided invalid value for threads.0.startLine (Could not coerce value false to Int), threads.0.startSide (Expected false to be one of: LEFT, RIGHT)
It used to work before but stopped working several works ago. Too bad, emacs-pr-review is cool. :-)
Apparently the problem is that emacs-pr-review attempts to send empty startLine and startSide:
(threads ((body . nice!) (path . foo) (line . 1) (side . RIGHT) (startLine) (startSide)))
The following quick hack seems to fix it: