Skip to content

Commit a96a606

Browse files
committed
Linting fix
1 parent 5f0f88e commit a96a606

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/dispatchRequest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ function DispatchRequest(url, action, payload, local_auth, remote_auth = null, c
215215
}
216216
default: {
217217
options.headers = options.headers ? options.headers : {};
218-
if(!options.headers['content-type'] && !options.headers['Content-Type']) {
218+
if (!options.headers['content-type'] && !options.headers['Content-Type']) {
219219
options.headers['Content-Type'] = 'application/json; charset=utf-8';
220220
}
221221
const compressedContentPost = checkPayload(payload, options, compress);

0 commit comments

Comments
 (0)