Commit fc6f0278c7180bb1a44506f7a922716161268f95
1 parent
dc4d6ceb7d
Exists in
master
typo
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
partner-simplepay.js
... | ... | @@ -144,8 +144,8 @@ function _responseBodyHandler(responseBody, task) { |
144 | 144 | |
145 | 145 | logger.verbose('RESPONSE', {response: response}); |
146 | 146 | |
147 | - const responseStatus = _getPropertyFromObjectSafe(response, status); | |
148 | - const responseInfo = _getPropertyFromObjectSafe(response, info); | |
147 | + const responseStatus = _getPropertyFromObjectSafe(response, 'status'); | |
148 | + const responseInfo = _getPropertyFromObjectSafe(response, 'info'); | |
149 | 149 | |
150 | 150 | if (responseStatus == 'Error') { |
151 | 151 | if (responseInfo == 'insufficient balance') { |