Skip to content

Commit

Permalink
Merge pull request #699 from dherault/fix-timeout-bug
Browse files Browse the repository at this point in the history
Fix timeout bug for lambda integration
  • Loading branch information
dherault committed Jun 8, 2019
2 parents 24b36c3 + 19b6e71 commit 35721db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Expand Up @@ -1183,7 +1183,7 @@ class Offline {
}

_clearTimeout(requestId) {
const { timeout } = this.requests[requestId];
const { timeout } = this.requests[requestId] || {};
clearTimeout(timeout);
}

Expand Down

0 comments on commit 35721db

Please sign in to comment.