From 48830adefa9da11f1f4a92625e13e04152937b20 Mon Sep 17 00:00:00 2001 From: Alexandr Garbuzov Date: Mon, 14 Aug 2023 11:44:54 +0300 Subject: [PATCH] Refactor: Stats card: Set username param type for totalCommitsFetcher function inside data fetcher (#3068) --- src/fetchers/stats-fetcher.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fetchers/stats-fetcher.js b/src/fetchers/stats-fetcher.js index 6cffdfdca680d..ac51d49bebcab 100644 --- a/src/fetchers/stats-fetcher.js +++ b/src/fetchers/stats-fetcher.js @@ -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} Total commits. * * @description Done like this because the GitHub API does not provide a way to fetch all the commits. See