The-Enthusiast-404 / git-begin

Git Begin is a Web App to find latest good first issues and start contributing to open source
https://gitbegin.theenthusiast.dev
MIT License
31 stars 18 forks source link

FIX: Updated the github API query to only fetch LICENSED repos #50

Closed sanketmn26 closed 2 months ago

sanketmn26 commented 2 months ago

fixes #47

Description This pull request addresses an issue where the GitHub API query was fetching repositories without checking for a license. The query has been updated to filter repositories that have a license.

Note @dotslashbit The query request is for fetching github issues. We can not actually filter for license while fetching issues. As per my research license filter is only for fetching repositories api. That is why I applied filter on issues after fetching it. And show users issues only from licensed repositories.

Please review the code. Let me know if there is any mistake.

netlify[bot] commented 2 months ago

Deploy request for gitbegin pending review.

Visit the deploys page to approve it

Name Link
Latest commit 92f56d225ff42589942eaaac0c614c5017bd49c6
dotslashbit commented 2 months ago

Hi @sanketmn26 I would love to merge this ASAP, can you just resolve the conflicts and update the PR