Compare commits

...
Author SHA1 Message Date
Zohan Subhash d0cb83cfd2 Update wakatime.js 2023-03-01 13:03:51 +05:30
Zohan Subhash 7b87177734 Update top-langs.js 2023-03-01 13:03:38 +05:30
Zohan Subhash 7e30ca6cc0 Update pin.js 2023-03-01 13:03:26 +05:30
Zohan Subhash 22a201df41 Update index.js 2023-03-01 13:02:52 +05:30
4 changed files with 8 additions and 0 deletions
+2
View File
@@ -47,6 +47,8 @@ export default async (req, res) => {
return res.send(renderError("Something went wrong", "Language not found"));
}
theme = theme.replace(/-/g, "_")
try {
const stats = await fetchStats(
username,
+2
View File
@@ -36,6 +36,8 @@ export default async (req, res) => {
return res.send(renderError("Something went wrong", "Language not found"));
}
theme = theme.replace(/-/g, "_")
try {
const repoData = await fetchRepo(username, repo);
+2
View File
@@ -42,6 +42,8 @@ export default async (req, res) => {
return res.send(renderError("Something went wrong", "Locale not found"));
}
theme = theme.replace(/-/g, "_")
try {
const topLangs = await fetchTopLanguages(
username,
+2
View File
@@ -39,6 +39,8 @@ export default async (req, res) => {
return res.send(renderError("Something went wrong", "Language not found"));
}
theme = theme.replace(/-/g, "_")
try {
const stats = await fetchWakatimeStats({ username, api_domain, range });