Skip to content

chore: scope workspace quotas to organizations #14352

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 6 commits into from
Aug 21, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixup swagger comment
  • Loading branch information
Emyrk committed Aug 20, 2024
commit 61ed7e1138ff4474c634b35735616f4cf2f9ce37
3 changes: 1 addition & 2 deletions enterprise/coderd/workspacequota.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,7 @@ func (c *committer) CommitQuota(
// @Param user path string true "User ID, name, or me"
// @Success 200 {object} codersdk.WorkspaceQuota
// @Router /workspace-quota/{user} [get]
// @Deprecated this endpoint will be removed,
// use /organizations/{organization}/members/{user}/workspace-quota instead
// @Deprecated this endpoint will be removed, use /organizations/{organization}/members/{user}/workspace-quota instead
func (api *API) workspaceQuotaByUser(rw http.ResponseWriter, r *http.Request) {
defaultOrg, err := api.Database.GetDefaultOrganization(r.Context())
if err != nil {
Expand Down
Loading