Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit f95b83c

Browse files
authored
Body not included in request in SPRequestExecutorClient
1 parent e1e4139 commit f95b83c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/net/sprequestexecutorclient.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ export class SPRequestExecutorClient implements HttpClientImpl {
4848
};
4949

5050
if (options.body) {
51-
Util.extend(requestOptions, { body: options.body });
51+
requestOptions = Util.extend(requestOptions, { body: options.body });
5252
} else {
53-
Util.extend(requestOptions, { binaryStringRequestBody: true });
53+
requestOptions = Util.extend(requestOptions, { binaryStringRequestBody: true });
5454
}
5555
executor.executeAsync(requestOptions);
5656
});

0 commit comments

Comments
 (0)