We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e933f0 commit 5177f36Copy full SHA for 5177f36
1 file changed
coderd/httpmw/organizationparam.go
@@ -78,10 +78,6 @@ func ExtractOrganizationParam(db database.Store) func(http.Handler) http.Handler
78
}
79
if httpapi.Is404Error(dbErr) {
80
httpapi.ResourceNotFound(rw)
81
- httpapi.Write(ctx, rw, http.StatusNotFound, codersdk.Response{
82
- Message: fmt.Sprintf("Organization %q not found.", arg),
83
- Detail: "Provide either the organization id or name.",
84
- })
85
return
86
87
if dbErr != nil {
0 commit comments