Skip to content

Commit 5d40aad

Browse files
committed
fix the bug of config reference in callback
1 parent 7702301 commit 5d40aad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qiniu/storage/form.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ FormUploader.prototype.putStream = function(uploadToken, key, fsStream,
6565
if (useCache) {
6666
createMultipartForm(uploadToken, key, fsStream, putExtra, function(
6767
postForm) {
68-
putReq(this.config, postForm, callbackFunc);
68+
putReq(that.config, postForm, callbackFunc);
6969
});
7070
} else {
7171
zone.getZoneInfo(accessKey, bucket, function(err, cZoneInfo,

0 commit comments

Comments
 (0)