Skip to content

Commit

Permalink
[optimize] delete quickSearch logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiram committed Nov 30, 2024
1 parent adb4a69 commit 9dc70a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/core/server/routes/v1/db/utils/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const easy2tvbox = async (config, url, type) => {
};

const formatSearch = (searchable: number = 0, quickSearch: number = 0) => {
if (quickSearch === 1) return 2;
// if (quickSearch === 1) return 2;
if (searchable === 1) return 1;
return 0;
};
Expand Down

0 comments on commit 9dc70a2

Please sign in to comment.