Skip to content

Commit

Permalink
v2.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bhousel committed Apr 26, 2024
1 parent f4ac49b commit 64a3e69
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions dist/osm-auth.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,9 @@ function osmAuth(o) {
window.authComplete = function(url2) {
var params2 = utilStringQs(url2.split("?")[1]);
if (params2.state !== state) {
error = new Error("Invalid state");
error.status = "invalid-state";
callback(error);
var error2 = new Error("Invalid state");
error2.status = "invalid-state";
callback(error2);
return;
}
_getAccessToken(params2.code, pkce.code_verifier, accessTokenDone);
Expand Down
Loading

0 comments on commit 64a3e69

Please sign in to comment.