Skip to content

Commit

Permalink
Ensure NotFoundError is available on token storage instance. Fix #2037 (
Browse files Browse the repository at this point in the history
  • Loading branch information
brollb committed Aug 16, 2021
1 parent ce7664b commit 63db122
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routers/SciServerAuth/Tokens.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ class NotFoundError extends Error {
}
}

TokenStorage.NotFoundError = NotFoundError;
TokenStorage.prototype.NotFoundError = NotFoundError;

module.exports = new TokenStorage();

0 comments on commit 63db122

Please sign in to comment.