Update top-langs.js

This commit is contained in:
Zohan Subhash
2023-01-15 16:04:55 +05:30
committed by GitHub
parent cc558e4d7c
commit 114225e72e
+1 -1
View File
@@ -30,7 +30,7 @@ export default async (req, res) => {
try {
let topLangs = []
if (req.query.top_langs) {
const split = req.query.top_langs.split(",");
const split = req.query.top_langs.split(";");
split.forEach(lang => {
topLangs.push(JSON.parse(lang))
});