Update pin.js

This commit is contained in:
Zohan Subhash
2023-03-01 13:03:26 +05:30
committed by GitHub
parent 22a201df41
commit 7e30ca6cc0
+2
View File
@@ -35,6 +35,8 @@ export default async (req, res) => {
if (locale && !isLocaleAvailable(locale)) {
return res.send(renderError("Something went wrong", "Language not found"));
}
theme = theme.replace(/-/g, "_")
try {
const repoData = await fetchRepo(username, repo);