Commit b113637873b9e0c2046d36c1e00a3b4894ee3a0c
1 parent
1bac1cf859
Exists in
master
resendDelay cancel using requestId as string
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
partner-komodo.js
... | ... | @@ -65,10 +65,10 @@ function callbackReport(requestId, rc, message, options) { |
65 | 65 | return; |
66 | 66 | } |
67 | 67 | |
68 | - if (rc == '68') { | |
68 | + if (rc === '68') { | |
69 | 69 | resendDelay.register(options.task); |
70 | 70 | } else { |
71 | - resendDelay.cancel(options.task) | |
71 | + resendDelay.cancel(requestId); | |
72 | 72 | } |
73 | 73 | } |
74 | 74 |