From 7e30ca6cc08e8828ba86cc7fcbf69f57391d0dba Mon Sep 17 00:00:00 2001 From: Zohan Subhash Date: Wed, 1 Mar 2023 13:03:26 +0530 Subject: [PATCH] Update pin.js --- api/pin.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/pin.js b/api/pin.js index 4838b0f0..4465e513 100644 --- a/api/pin.js +++ b/api/pin.js @@ -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);