Skip to content

Commit

Permalink
Fix timeout bug for lambda integration
Browse files Browse the repository at this point in the history
  • Loading branch information
dherault committed Jun 8, 2019
1 parent 24b36c3 commit 19b6e71
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 19b6e71

Please sign in to comment.