Skip to content

Bug fixes w/ current Github API - #4

Open
UriShX wants to merge 2 commits into
OXOYO:masterfrom
UriShX:bug-fixes-urishx
Open

Bug fixes w/ current Github API#4
UriShX wants to merge 2 commits into
OXOYO:masterfrom
UriShX:bug-fixes-urishx

Conversation

@UriShX

@UriShX UriShX commented Jul 16, 2022

Copy link
Copy Markdown

I tried using the extension and kept getting failure responses, so I changed a couple of things for it to work with the current Github API.

Changed repository list fetching URL since it retrieves only public repos. Changed from /orgs/${user}/repos to search/repositories?q=user:${user} according to this thread and Github's API documentation.

Removed committer from putContent() since according to the repository API documentation it defaults to correct values.
I got to this since my own email is hidden, which caused the extension to fail.

I also bumped the version.

Hope you approve this and re-publish the extension, it looks like a good productivity tool.

Cheers,
Uri

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant