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

Tweaked alerts so pages is optional #445

Merged
merged 3 commits into from
Jul 11, 2023

Conversation

stefan-oconnell
Copy link
Collaborator

Made pages optional for alerts, so full-site alerts just don't define a page list instead of adding 'all' to it which didn't feel right.

Made failed alerts return 500 with an empty list, seems to work as expected.

@github-actions
Copy link

src/pages/api/alerts.ts Outdated Show resolved Hide resolved
src/pages/api/alerts.ts Outdated Show resolved Hide resolved
src/pages/api/alerts.ts Outdated Show resolved Hide resolved
src/pages/api/alerts.ts Outdated Show resolved Hide resolved
src/pages/api/alerts.ts Outdated Show resolved Hide resolved
src/pages/api/alerts.ts Outdated Show resolved Hide resolved
@stefan-oconnell stefan-oconnell merged commit 1ab3e3c into main Jul 11, 2023
@stefan-oconnell stefan-oconnell deleted the stefan/alert-error-handling branch July 11, 2023 17:29
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.

2 participants