Skip to content

Commit ac346d7

Browse files
post call param name fix
1 parent 86f6fe8 commit ac346d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generator/cybersource-javascript-template/ApiClient.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@
526526
if (httpMethod.toLowerCase() === this.constants.POST
527527
|| httpMethod.toLowerCase() === this.constants.PATCH
528528
|| httpMethod.toLowerCase() === this.constants.PUT) {
529-
if (body !== "{}") {
529+
if (bodyParam !== "{}") {
530530
bodyParam = JSON.stringify(bodyParam, null, 0);
531531
}
532532
}

0 commit comments

Comments
 (0)