fix: langs_count overflow when hide is set (#989)

This commit is contained in:
Florian Bussmann
2021-05-06 21:01:04 +02:00
committed by GitHub
parent 7a096acf66
commit f8b0c8767e
5 changed files with 27 additions and 21 deletions
+1 -1
View File
@@ -46,7 +46,6 @@ module.exports = async (req, res) => {
try {
topLangs = await fetchTopLanguages(
username,
langs_count,
parseArray(exclude_repo),
parseArray(hide),
);
@@ -71,6 +70,7 @@ module.exports = async (req, res) => {
bg_color,
theme,
layout,
langs_count,
border_radius,
border_color,
locale: locale ? locale.toLowerCase() : null,