diff --git a/index.js b/index.js index 3f54ecb..383c30c 100644 --- a/index.js +++ b/index.js @@ -59,7 +59,7 @@ function randomBunny(subreddit, sortBy, cb) { } function promise(subreddit, sortBy) { - return new Promise((resolve, reject) => { + return new Promise((resolve) => { // If the sortable list doesn't include sortBy, default to 'hot' if (!sortable.includes(sortBy)) sortBy = 'hot'; @@ -118,4 +118,4 @@ function getRandom(min, max) { module.exports = { randomBunny, promise, -} \ No newline at end of file +}; \ No newline at end of file