Use GraphQL variable syntax
This commit is contained in:
+1
-1
@@ -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),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user