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

Requesting workspaces endpoint without a header leads to 500 #19

Open
Omeramsc opened this issue May 19, 2024 · 0 comments
Open

Requesting workspaces endpoint without a header leads to 500 #19

Omeramsc opened this issue May 19, 2024 · 0 comments

Comments

@Omeramsc
Copy link
Collaborator

When calling the workspaces endpoint (either with a specific workspace or for all workspaces) without the X-Email header, the server will respond with 500 Internal server error.

This is not desirable and should be fixed, either with an empty response, null workspace (as being returned when there are no workspace for a certain user), or with a readable error.

*This change should be followed with a change in the tests as well.

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

No branches or pull requests

1 participant