File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 4
4
"description" : " Small application that lets you query various torrent sites and outputs it in one generic JSON blob." ,
5
5
"main" : " server.js" ,
6
6
"dependencies" : {
7
+ "axios" : " ^0.26.0" ,
7
8
"cheerio" : " ^1.0.0-rc.5" ,
8
9
"curlrequest" : " ^1.0.1" ,
9
10
"seriesmeta" : " ^0.4.3" ,
10
11
"xml2js" : " ^0.4.23"
11
12
},
12
- "devDependencies" : {},
13
13
"scripts" : {
14
14
"test" : " echo \" Error: no test specified\" && exit 1" ,
15
15
"start" : " node server.js"
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ class QueryHandler {
82
82
// It can be a serie or a movie at this point. We just don't know since just a "name" is provided.
83
83
// To be re-implemented
84
84
//promises.push(this.handleWildSearch(newData));
85
- return Promise . reject ( `To be re-implemented: ${ this . queryType } ` ) ;
85
+ return Promise . resolve ( { results : [ { searchQuery : data } ] } ) ;
86
86
}
87
87
}
88
88
You can’t perform that action at this time.
0 commit comments