forked from mirrored/github-readme-stats
Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d0cb83cfd2 | ||
|
|
7b87177734 | ||
|
|
7e30ca6cc0 | ||
|
|
22a201df41 |
@@ -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,
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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 });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user