diff options
| author | realS1ant <trb.9900@gmail.com> | 2021-04-11 02:47:01 -0500 |
|---|---|---|
| committer | realS1ant <trb.9900@gmail.com> | 2021-04-11 02:47:01 -0500 |
| commit | 84133947193e67ab2c5de5a550af4c1b007bf2b3 (patch) | |
| tree | 25ea3bcdc197b529da46776db1d85a370e36bf64 | |
| parent | f3d8acbc061e0d40018ace027080c895a04521a3 (diff) | |
| download | StreamFinder-84133947193e67ab2c5de5a550af4c1b007bf2b3.tar.xz StreamFinder-84133947193e67ab2c5de5a550af4c1b007bf2b3.zip | |
minimal changes
| -rw-r--r-- | src/app.js | 3 | ||||
| -rw-r--r-- | src/test.js | 14 |
2 files changed, 14 insertions, 3 deletions
@@ -18,8 +18,7 @@ app.get('/api/performCheck', async (req, res) => { return; } const { id, query, type } = req.query; - - console.log(`Performing check with ID: ${id} Query: ${query} and Type: ${query}`); + console.log(`Performing check with ID: ${id} Query: ${query} and Type: ${type}`); res.status(200).json(await performCheck(id, query, type)); return; res.status(200).json({ diff --git a/src/test.js b/src/test.js index 6c10475..abfe9b0 100644 --- a/src/test.js +++ b/src/test.js @@ -2,4 +2,16 @@ const check = require('./check') check.performCheck('387', 'Spongebob Squarepants', 'tv').then(res => { console.log(res) -})
\ No newline at end of file +}) +check.performCheck('298618', 'The%20Flash', 'tv').then(res => { + console.log(res) +}) +check.performCheck('298618', 'The Flash', 'tv').then(res => { + console.log(res) +}) +check.performCheck('4607', 'Lost', 'tv').then(res => { + console.log(res) +}) +check.performCheck('632357', 'The Unholy', 'movie').then(res => { + console.log(res) +}) |
