Skip to content

Commit 64a3e69

Browse files
committed
v2.5.0
1 parent f4ac49b commit 64a3e69

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

dist/osm-auth.cjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,9 @@ function osmAuth(o) {
155155
window.authComplete = function(url2) {
156156
var params2 = utilStringQs(url2.split("?")[1]);
157157
if (params2.state !== state) {
158-
error = new Error("Invalid state");
159-
error.status = "invalid-state";
160-
callback(error);
158+
var error2 = new Error("Invalid state");
159+
error2.status = "invalid-state";
160+
callback(error2);
161161
return;
162162
}
163163
_getAccessToken(params2.code, pkce.code_verifier, accessTokenDone);

0 commit comments

Comments
 (0)