Skip to content

Commit 3a1dc8c

Browse files
author
Umit Coskun Aydinoglu
committed
delete json option
1 parent 6e99928 commit 3a1dc8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/utils/countly-request/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ var convertOptionsToGot = function(options) {
8686
// If request.json and body exist, one of them must be deleted.
8787
if (requestOptions.json && typeof requestOptions.json === 'boolean' && requestOptions.body) {
8888
requestOptions.json = requestOptions.body;
89-
delete requestOptions.body;
89+
delete requestOptions.json;
9090
}
9191

9292
if (requestOptions.prefixUrl && options.uri && requestOptions.url) {

0 commit comments

Comments
 (0)