refactor: update folder structure

This commit is contained in:
Rick Staa
2023-01-16 12:19:47 +01:00
parent 2c970b29c1
commit 147a5d9e2a
16 changed files with 17 additions and 15 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ import {
renderError,
} from "../src/common/utils.js";
import { fetchStats } from "../src/fetchers/stats-fetcher.js";
import { isLocaleAvailable } from "../src/assets/translations.js";
import { isLocaleAvailable } from "../src/translations.js";
export default async (req, res) => {
const {
+1 -1
View File
@@ -7,7 +7,7 @@ import {
renderError,
} from "../src/common/utils.js";
import { fetchRepo } from "../src/fetchers/repo-fetcher.js";
import { isLocaleAvailable } from "../src/assets/translations.js";
import { isLocaleAvailable } from "../src/translations.js";
export default async (req, res) => {
const {
+1 -1
View File
@@ -8,7 +8,7 @@ import {
renderError,
} from "../src/common/utils.js";
import { fetchTopLanguages } from "../src/fetchers/top-languages-fetcher.js";
import { isLocaleAvailable } from "../src/assets/translations.js";
import { isLocaleAvailable } from "../src/translations.js";
export default async (req, res) => {
const {
+1 -1
View File
@@ -7,7 +7,7 @@ import {
renderError,
} from "../src/common/utils.js";
import { fetchWakatimeStats } from "../src/fetchers/wakatime-fetcher.js";
import { isLocaleAvailable } from "../src/assets/translations.js";
import { isLocaleAvailable } from "../src/translations.js";
export default async (req, res) => {
const {