Skip to content

Commit 9270943

Browse files
committed
var name
1 parent f55b641 commit 9270943

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

qiniu/util.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ exports.generateAccessToken = function(uri, body) {
4444
return 'QBox ' + conf.ACCESS_KEY + ':' + safeDigest;
4545
}
4646

47-
function isQiniuCallback(path, body, auth) {
47+
function isQiniuCallback(path, body, callbackAuth) {
4848

49-
var auth1 = exports.generateAccessToken(path, body)
50-
return auth === auth1;
49+
var auth = exports.generateAccessToken(path, body)
50+
return auth === callbackAuth;
5151
}

0 commit comments

Comments
 (0)