Fix ci issues 2
This commit is contained in:
parent
3731482186
commit
bfa56d657c
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -59,7 +59,7 @@ function randomBunny(subreddit, sortBy, cb) {
|
|||
}
|
||||
|
||||
function promise(subreddit, sortBy) {
|
||||
return new Promise((resolve) => {
|
||||
return new Promise(resolve => {
|
||||
// If the sortable list doesn't include sortBy, default to 'hot'
|
||||
if (!sortable.includes(sortBy)) sortBy = 'hot';
|
||||
|
||||
|
|
Loading…
Reference in a new issue