Skip to content

Commit dea7c0a

Browse files
committed
fix message
1 parent 265a895 commit dea7c0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/organizations.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ func (api *API) deleteOrganization(rw http.ResponseWriter, r *http.Request) {
188188

189189
if organization.IsDefault {
190190
httpapi.Write(ctx, rw, http.StatusBadRequest, codersdk.Response{
191-
Message: fmt.Sprintf("Organization name %q is reserved.", codersdk.DefaultOrganization),
191+
Message: "Default organization cannot be deleted.",
192192
})
193193
return
194194
}

0 commit comments

Comments
 (0)