Skip to content

fix: add workspace option 'deleted' to options type #2095

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

Merged
merged 3 commits into from
Jun 6, 2022
Merged

Conversation

f0ssel
Copy link
Contributor

@f0ssel f0ssel commented Jun 6, 2022

We were not generating the deleted query param option for the frontend to consume, so this changes that.

I've also removed the 400 error code if you provide ?deleted=true but the workspace isn't in a deleted state. I think it's easier for the frontend to provide this unconditionally for some pages and not need to juggle the changing error states.

@f0ssel f0ssel requested a review from a team as a code owner June 6, 2022 16:56
@f0ssel f0ssel requested a review from deansheather June 6, 2022 16:57
Copy link
Contributor

@presleyp presleyp left a comment

Choose a reason for hiding this comment

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

Looks super helpful!

@f0ssel f0ssel enabled auto-merge (squash) June 6, 2022 17:04
@f0ssel f0ssel merged commit 37b0aaa into main Jun 6, 2022
@f0ssel f0ssel deleted the f0ssel/fix-deleted branch June 6, 2022 17:23
kylecarbs pushed a commit that referenced this pull request Jun 10, 2022
* fix: add workspace option 'deleted' to options type

* dead code
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.

4 participants