mirror of
https://github.com/tiennm99/github-readme-stats.git
synced 2026-09-05 00:18:20 +00:00
refactor: jsdoc in utils & minor changes (#1377)
* refactor: jsdoc in utils & minor changes * chore: jsdoc Card class * chore: jsdoc for getStyles
This commit is contained in:
+1
-3
@@ -31,8 +31,6 @@ module.exports = async (req, res) => {
|
||||
border_radius,
|
||||
border_color,
|
||||
} = req.query;
|
||||
let topLangs;
|
||||
|
||||
res.setHeader("Content-Type", "image/svg+xml");
|
||||
|
||||
if (blacklist.includes(username)) {
|
||||
@@ -44,7 +42,7 @@ module.exports = async (req, res) => {
|
||||
}
|
||||
|
||||
try {
|
||||
topLangs = await fetchTopLanguages(
|
||||
const topLangs = await fetchTopLanguages(
|
||||
username,
|
||||
parseArray(exclude_repo),
|
||||
parseArray(hide),
|
||||
|
||||
Reference in New Issue
Block a user