Update wakatime.js

This commit is contained in:
Zohan Subhash
2023-03-01 13:03:51 +05:30
committed by GitHub
parent 7b87177734
commit d0cb83cfd2
+2
View File
@@ -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 });