diff options
| author | Ritesh Ghosh <[email protected]> | 2023-08-13 19:39:16 +0530 |
|---|---|---|
| committer | Ritesh Ghosh <[email protected]> | 2023-08-13 19:39:16 +0530 |
| commit | 09ddda2799c68df8cf5b66ecface093c75f4c7a1 (patch) | |
| tree | 1ba2d644f4a89ac79cf52563cea855516009a726 /src/models | |
| parent | 39f496aa1851b58bba4c9256015c218ded3d823f (diff) | |
| download | aniwatch-api-09ddda2799c68df8cf5b66ecface093c75f4c7a1.tar.xz aniwatch-api-09ddda2799c68df8cf5b66ecface093c75f4c7a1.zip | |
refactor(animeCategory): updated `category` prop type
Diffstat (limited to 'src/models')
| -rw-r--r-- | src/models/parsers/animeCategory.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/models/parsers/animeCategory.ts b/src/models/parsers/animeCategory.ts index db748da..7402e59 100644 --- a/src/models/parsers/animeCategory.ts +++ b/src/models/parsers/animeCategory.ts @@ -1,5 +1,5 @@ import { HttpError } from "http-errors"; -import { Anime, Top10Anime, AnimeCategories } from "../anime"; +import { Anime, Top10Anime } from "../anime"; export interface ScrapedAnimeCategory { animes: Array<Anime> | HttpError; @@ -9,7 +9,7 @@ export interface ScrapedAnimeCategory { week: Array<Top10Anime> | HttpError; month: Array<Top10Anime> | HttpError; }; - category: AnimeCategories; + category: string; totalPages: number; currentPage: number; hasNextPage: boolean; |
