You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But i am getting a 422 (Unprocessable Entity). This is a new file, and I am seeing in the log the 404 (Not Found) from the call trying to get the SHA which is correct ( i dont understand why this is dumped into the console tho...).
Hello,
I am trying to write a file doing:
But i am getting a
422 (Unprocessable Entity)
. This is a new file, and I am seeing in the log the404 (Not Found)
from the call trying to get the SHA which is correct ( i dont understand why this is dumped into the console tho...).Looking online at https://developer.github.com/v3/repos/contents/#create-or-update-file-contents , it seems that when
author
andcommitter
are used , then we need to specifyname
andauthor
. But in my case, I would like to use the default behavior which is to use the authenticated user.When I look at http://github-tools.github.io/github/docs/3.2.3/Repository.js.html#line750 , it seems that the keys are set. Should they not be here at all, in case they are not given in the
option
payload ?Thank you !
The text was updated successfully, but these errors were encountered: