Skip to content

Commit c858a9e

Browse files
committed
Update 'Content-Length' value for fix characters missing
1 parent fd69ca8 commit c858a9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/submission/NodeSubmissionAdapter.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export class NodeSubmissionAdapter implements ISubmissionAdapter {
3030
if (request.method === 'POST') {
3131
options.headers = {
3232
'Content-Type': 'application/json',
33-
'Content-Length': request.data.length
33+
'Content-Length': new Buffer(request.data).length
3434
};
3535
}
3636

0 commit comments

Comments
 (0)