Skip to content

Commit

Permalink
chore: merge branch 'fix/restore-oauth-resource' into 'main'
Browse files Browse the repository at this point in the history
fix: restore the oauth resource

See merge request team-backend/orestes/orestes-js!58
  • Loading branch information
mndfcked committed Dec 20, 2023
2 parents ec7f81e + 34fdfd7 commit 6509da9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module.exports = {
node: true,
},

ignorePatterns: ['dist/**', 'doc/**', 'commonjs/**', 'lib/**/*.js', 'cli/**/*.js'],
ignorePatterns: ['dist/**', 'doc/**', 'commonjs/**', 'lib/**/*.js', 'cli/**/*.js', 'oauth.js'],

rules: {
// enforce consistent linebreak style
Expand Down
4 changes: 4 additions & 0 deletions oauth.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
window.addEventListener('load', function() {
localStorage.setItem('oauth-response', JSON.stringify(response));
window.close();
}, false);

0 comments on commit 6509da9

Please sign in to comment.