Skip to content

Commit

Permalink
Use promises for manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
BoredLama committed Apr 4, 2019
1 parent 77c86c9 commit a4e868d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const streamFromMagnet = (tor, uri, type, cb) => {

module.exports = {
manifest: () => {
return {
return Promise.resolve({
"id": "org.stremio.jackett",
"version": "1.0.0",

Expand All @@ -56,7 +56,7 @@ module.exports = {

"catalogs": []

}
})
},
handler: (args, local) => {
modules.set(local.modules)
Expand Down

0 comments on commit a4e868d

Please sign in to comment.