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

fix: explain api maintenance mode #1545

Merged
merged 4 commits into from
Jun 24, 2022
Merged

Conversation

johnathonroach
Copy link
Contributor

fixes #1318
This PR adds error messaging for the tokens section of the website when the API is in maintenance mode.

How to Test

  • Put the api in maintenance mode README
    OR Locally packages/api/src/maintenance.js ln:29
  • Visit /tokens/ and /tokens/?create=true
  • NO_READ_OR_WRITE will show error message for creation and retrieval of tokens
  • READ_ONLY will successfully show tokens but show error when creating a new token

@johnathonroach johnathonroach merged commit cabc458 into main Jun 24, 2022
@johnathonroach johnathonroach deleted the fix/explain-api-maint-mode branch June 24, 2022 17:02
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.

Explain error to user when api is in maintenance mode
2 participants