Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyiya committed Sep 21, 2024
1 parent 4d6534a commit 23e89f9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/index/src/enime.adp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ export function getSuo(content) {
}

export const clicliAdapter = (item: any) => {
if (!item) return {}
return {
...item,
adp: true,
Expand Down Expand Up @@ -137,4 +136,4 @@ export const clicliAdapter = (item: any) => {
const blackList = [3421, 31, 786, 3880, 2617, 4087, 4086, 620]

export const cliclisAdapter = (data: any[] | null) =>
data?.filter((it) => !blackList.includes(it.id)).map(clicliAdapter) || []
data?.filter((it) => !blackList.includes(it.id) || it.videos).map(clicliAdapter) || []

0 comments on commit 23e89f9

Please sign in to comment.