Skip to content

Commit

Permalink
Refactor: Stats card: Set username param type for totalCommitsFetcher…
Browse files Browse the repository at this point in the history
… function inside data fetcher (#3068)
  • Loading branch information
qwerty541 authored Aug 14, 2023
1 parent c3a33ca commit 48830ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fetchers/stats-fetcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ const statsFetcher = async (username) => {
/**
* Fetch all the commits for all the repositories of a given username.
*
* @param {*} username GitHub username.
* @param {string} username GitHub username.
* @returns {Promise<number>} Total commits.
*
* @description Done like this because the GitHub API does not provide a way to fetch all the commits. See
Expand Down

0 comments on commit 48830ad

Please sign in to comment.