mirror of
https://github.com/JustAnimeCore/HiAnime-Api.git
synced 2026-04-17 13:51:44 +00:00
feature, not a bug
This commit is contained in:
13
src/controllers/topsearch.controller.js
Normal file
13
src/controllers/topsearch.controller.js
Normal file
@@ -0,0 +1,13 @@
|
||||
import extractTopSearch from "../extractors/topsearch.extractor.js";
|
||||
|
||||
const getTopSearch = async () => {
|
||||
try {
|
||||
const data = await extractTopSearch();
|
||||
return data;
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
return e;
|
||||
}
|
||||
};
|
||||
|
||||
export default getTopSearch;
|
||||
Reference in New Issue
Block a user