We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86f6fe8 commit ac346d7Copy full SHA for ac346d7
generator/cybersource-javascript-template/ApiClient.mustache
@@ -526,7 +526,7 @@
526
if (httpMethod.toLowerCase() === this.constants.POST
527
|| httpMethod.toLowerCase() === this.constants.PATCH
528
|| httpMethod.toLowerCase() === this.constants.PUT) {
529
- if (body !== "{}") {
+ if (bodyParam !== "{}") {
530
bodyParam = JSON.stringify(bodyParam, null, 0);
531
}
532
0 commit comments