refactor: fix fetchers names by removing duplicating postfix (#4375)

This commit is contained in:
Alexandr Garbuzov
2025-08-24 17:07:23 +03:00
committed by GitHub
parent a92cc03e92
commit 09cb2a596e
17 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ import {
} from "../src/common/utils.js";
import { isLocaleAvailable } from "../src/translations.js";
import { renderGistCard } from "../src/cards/gist-card.js";
import { fetchGist } from "../src/fetchers/gist-fetcher.js";
import { fetchGist } from "../src/fetchers/gist.js";
export default async (req, res) => {
const {
+1 -1
View File
@@ -7,7 +7,7 @@ import {
parseBoolean,
renderError,
} from "../src/common/utils.js";
import { fetchStats } from "../src/fetchers/stats-fetcher.js";
import { fetchStats } from "../src/fetchers/stats.js";
import { isLocaleAvailable } from "../src/translations.js";
export default async (req, res) => {
+1 -1
View File
@@ -6,7 +6,7 @@ import {
parseBoolean,
renderError,
} from "../src/common/utils.js";
import { fetchRepo } from "../src/fetchers/repo-fetcher.js";
import { fetchRepo } from "../src/fetchers/repo.js";
import { isLocaleAvailable } from "../src/translations.js";
export default async (req, res) => {
+1 -1
View File
@@ -6,7 +6,7 @@ import {
parseBoolean,
renderError,
} from "../src/common/utils.js";
import { fetchTopLanguages } from "../src/fetchers/top-languages-fetcher.js";
import { fetchTopLanguages } from "../src/fetchers/top-languages.js";
import { isLocaleAvailable } from "../src/translations.js";
export default async (req, res) => {
+1 -1
View File
@@ -6,7 +6,7 @@ import {
parseBoolean,
renderError,
} from "../src/common/utils.js";
import { fetchWakatimeStats } from "../src/fetchers/wakatime-fetcher.js";
import { fetchWakatimeStats } from "../src/fetchers/wakatime.js";
import { isLocaleAvailable } from "../src/translations.js";
export default async (req, res) => {