Skip to content
This repository was archived by the owner on Apr 3, 2019. It is now read-only.

Commit 8366622

Browse files
committed
fix(xhr): make the default payload null
1 parent 0bb3fec commit 8366622

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/lib/request.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ define(['./hawk', 'p', './errors'], function (hawk, P, ERRORS) {
4141
var deferred = P.defer();
4242
var xhr = new this.xhr();
4343
var uri = this.baseUri + path;
44-
var payload;
44+
var payload = null;
4545
var self = this;
4646
options = options || {};
4747

0 commit comments

Comments
 (0)