Skip to content

Commit f268623

Browse files
committed
Add wildcard support
1 parent c133370 commit f268623

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
"description": "Small application that lets you query various torrent sites and outputs it in one generic JSON blob.",
55
"main": "server.js",
66
"dependencies": {
7+
"axios": "^0.26.0",
78
"cheerio": "^1.0.0-rc.5",
89
"curlrequest": "^1.0.1",
910
"seriesmeta": "^0.4.3",
1011
"xml2js": "^0.4.23"
1112
},
12-
"devDependencies": {},
1313
"scripts": {
1414
"test": "echo \"Error: no test specified\" && exit 1",
1515
"start": "node server.js"

queryHandler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ class QueryHandler {
8282
// It can be a serie or a movie at this point. We just don't know since just a "name" is provided.
8383
// To be re-implemented
8484
//promises.push(this.handleWildSearch(newData));
85-
return Promise.reject(`To be re-implemented: ${this.queryType}`);
85+
return Promise.resolve({results:[{searchQuery: data}]});
8686
}
8787
}
8888

0 commit comments

Comments
 (0)