aboutsummaryrefslogtreecommitdiff
path: root/src/utils/methods.ts
diff options
context:
space:
mode:
authorRitesh Ghosh <[email protected]>2024-04-28 14:11:32 +0530
committerGitHub <[email protected]>2024-04-28 14:11:32 +0530
commitdaad33e270139662d0a5964656f1f5ca6ad9055b (patch)
treeb2a5a3b0e136f8e7ad1f50c59f02406c56659c7d /src/utils/methods.ts
parent22599a38d9e08c4dc5cd325c53f5509980f435fe (diff)
parent0a291ad659aa9095fa443cfd55b094b2036920da (diff)
downloadaniwatch-api-daad33e270139662d0a5964656f1f5ca6ad9055b.tar.xz
aniwatch-api-daad33e270139662d0a5964656f1f5ca6ad9055b.zip
Merge pull request #43 from WBRK-dev/main
feat: show `raw` servers in `/servers` and `/episode-srcs`
Diffstat (limited to 'src/utils/methods.ts')
-rw-r--r--src/utils/methods.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/methods.ts b/src/utils/methods.ts
index 9d89822..1ed0c88 100644
--- a/src/utils/methods.ts
+++ b/src/utils/methods.ts
@@ -191,7 +191,7 @@ export const extractMostPopularAnimes = (
export function retrieveServerId(
$: CheerioAPI,
index: number,
- category: "sub" | "dub"
+ category: "sub" | "dub" | "raw"
) {
return (
$(`.ps_-block.ps_-block-sub.servers-${category} > .ps__-list .server-item`)