From 653f66023d35e41dde15afc96bc5850905c40fdd Mon Sep 17 00:00:00 2001 From: Rick Staa Date: Wed, 25 Jan 2023 09:01:06 +0100 Subject: [PATCH] fix: fix language card ownerAffiliation bug This commit fixes a small error in the stats-fetcher that caused the `exclude_repo` parameter values to be seen as the `ownerAffiliation` inputs. --- api/top-langs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/top-langs.js b/api/top-langs.js index ecc66ac6..4c30467b 100644 --- a/api/top-langs.js +++ b/api/top-langs.js @@ -45,8 +45,8 @@ export default async (req, res) => { try { const topLangs = await fetchTopLanguages( username, - parseArray(role), parseArray(exclude_repo), + parseArray(role), ); const cacheSeconds = clampValue(