Use GraphQL variable syntax

This commit is contained in:
devStorm
2021-12-04 15:19:16 -05:00
parent 41e4424c8f
commit b7849627a6
2 changed files with 4 additions and 9 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ module.exports = async (req, res) => {
const topLangs = await fetchTopLanguages(
username,
parseArray(exclude_repo),
parseArray(role).filter(value => ['OWNER', 'ORGANIZATION_MEMBER', 'COLLABORATOR'].includes(value)),
parseArray(role),
parseArray(hide),
);