Closed mitgajera closed 1 day ago
hey @mitgajera you messed up with the code base with auto formatting, can you please create a new pr and turn of auto formatting in your ide, it's hard to track changes, also keep your fork up to date.
@mitgajera good work, but please keep small changes in a single commit and don't include changes which are not relatable to issue, you can create separate issue for that.
@jalaym825 Ok I will work on it.
closing the pr for now, fix all things and raise new pr.
Overview
This pull request (PR) introduces improvements to the user authentication process by including the retrieval and updating of pull request (PR) counts for users during the access token flow.
Issue fixed: #14
Changes Made
getPullRequestCount
function that retrieves the total count of pull requests authored by the user from GitHub's API.prCount
field, initialized to 0 for new users.getAccessToken
function to:Why This Change?
By keeping track of the number of pull requests, we can better evaluate user engagement and contributions within our application. This enhancement will enable us to use this data for analytics and user recognition features in future iterations.
Testing