Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
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
Next Next commit
fix message
  • Loading branch information
aslilac committed May 16, 2024
commit dea7c0a40966b2d22a516ab8b2558ef499a6288d
2 changes: 1 addition & 1 deletion coderd/organizations.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ func (api *API) deleteOrganization(rw http.ResponseWriter, r *http.Request) {

if organization.IsDefault {
httpapi.Write(ctx, rw, http.StatusBadRequest, codersdk.Response{
Message: fmt.Sprintf("Organization name %q is reserved.", codersdk.DefaultOrganization),
Message: "Default organization cannot be deleted.",
})
return
}
Expand Down