Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: fix inconsistent spelling of revocation #477

Merged
merged 1 commit into from
Sep 15, 2020

Conversation

phil-davis
Copy link
Contributor

Related issue

Not applicable

Proposed changes

"revocation" is also spelled "revokation" in various place. Make it consistent - "revocation".
This changes some constant and/or variable names in the code, so I have made this a "refactor" PR.

Checklist

  • I have read the contributing guidelines
  • I have read the security policy
  • I confirm that this pull request does not address a security
    vulnerability. If this pull request addresses a security vulnerability, I
    confirm that I got green light (please contact
    security@ory.sh) from the maintainers to push
    the changes.
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation within the code base (if appropriate)

Further comments

@@ -243,7 +243,7 @@ const (
errTokenInactiveName = "token_inactive"
// errAuthorizaionCodeInactiveName = "authorization_code_inactive"
errUnknownErrorName = "error"
errRevokationClientMismatchName = "revokation_client_mismatch"
errRevocationClientMismatchName = "revocation_client_mismatch"
Copy link
Contributor Author

@phil-davis phil-davis Sep 14, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this spelling change cause some externally-observable difference?
e.g. does revocation_client_mismatch get returned to consumers of this package...

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be fine!

Copy link
Member

@aeneasr aeneasr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome 🎉

Thank you for your contribution!

@aeneasr aeneasr merged commit 7a55edb into ory:master Sep 15, 2020
@phil-davis phil-davis deleted the fix-inconsistent-spelling-revocation branch September 15, 2020 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants