aboutsummaryrefslogtreecommitdiff
path: root/src/controllers/animeCategory.controller.ts
diff options
context:
space:
mode:
authorRitesh Ghosh <[email protected]>2024-01-19 19:55:06 +0530
committerRitesh Ghosh <[email protected]>2024-01-19 19:55:06 +0530
commitf4c276134ac45050beecb7d0078abd68a142bfec (patch)
tree6faa0387fb139da7fc86cce566b98bad546e5053 /src/controllers/animeCategory.controller.ts
parent20b788b3ce53f46301a31e562b0cdb3f63033d51 (diff)
downloadaniwatch-api-f4c276134ac45050beecb7d0078abd68a142bfec.tar.xz
aniwatch-api-f4c276134ac45050beecb7d0078abd68a142bfec.zip
refactor: `types` dir import
Diffstat (limited to 'src/controllers/animeCategory.controller.ts')
-rw-r--r--src/controllers/animeCategory.controller.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/controllers/animeCategory.controller.ts b/src/controllers/animeCategory.controller.ts
index 8b0bfeb..373b8e3 100644
--- a/src/controllers/animeCategory.controller.ts
+++ b/src/controllers/animeCategory.controller.ts
@@ -1,11 +1,11 @@
import createHttpError from "http-errors";
import type { RequestHandler } from "express";
-import type { AnimeCategories } from "../models/anime.js";
+import type { AnimeCategories } from "../types/anime.js";
import { scrapeAnimeCategory } from "../parsers/index.js";
import type {
CategoryAnimePathParams,
CategoryAnimeQueryParams,
-} from "../models/controllers/index.js";
+} from "../types/controllers/index.js";
// /anime/:category?page=${page}
const getAnimeCategory: RequestHandler<