Skip to content

Commit d0db5f0

Browse files
post call param fix
1 parent ac346d7 commit d0db5f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ApiClient.js

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

0 commit comments

Comments
 (0)