Commit 0a43e974d16c7bb02cab417ec9d6bd731abe7592
1 parent
879f58afcc
Exists in
master
exports.processPartnerResponseBody
Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff
partner-misc.js
... | ... | @@ -45,7 +45,7 @@ function decodeResponseBody(responseBody) { |
45 | 45 | let response; |
46 | 46 | |
47 | 47 | try { |
48 | - response = JSON.parse(responseBody) | |
48 | + response = JSON.parse(responseBody); | |
49 | 49 | } |
50 | 50 | catch(e) { |
51 | 51 | logger.warn('Error parsing response body'); |
... | ... | @@ -217,3 +217,4 @@ function getPartnerRCFromDiagMessage(diag) { |
217 | 217 | |
218 | 218 | exports.calculateSign = calculateSign; |
219 | 219 | exports.createRequestOptions = createRequestOptions; |
220 | +exports.processPartnerResponseBody = processPartnerResponseBody; |