fix for inconsistent return type in start delivery
This commit is contained in:
parent
1ad8ee1397
commit
15aff28dc5
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ client.connect()
|
|||
apex.store.db = client.db(DB_NAME)
|
||||
let resumeDeliveryTimer
|
||||
function deliver () {
|
||||
apex.startDelivery()
|
||||
Promise.resolve(apex.startDelivery())
|
||||
.catch(err => {
|
||||
console.error('Error starting delivery', err)
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue