diff --git a/api/wakatime.js b/api/wakatime.js index d439c5b7..f2e50688 100644 --- a/api/wakatime.js +++ b/api/wakatime.js @@ -38,6 +38,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 stats = await fetchWakatimeStats({ username, api_domain, range });