Skip to content

Commit

Permalink
Fix delay
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewPattell committed Sep 9, 2019
1 parent 527f574 commit 0ca8de3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export default function* codePushSaga(options = {}) {
}

if (options.syncOnInterval > 0) {
syncEvents.interval = call(delay, options.syncOnInterval * 1000);
syncEvents.interval = delay(options.syncOnInterval * 1000);
}

// Kick off the "event loop" that will continue
Expand Down

0 comments on commit 0ca8de3

Please sign in to comment.