Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5177f36

Browse files
authored
fix: organization 404 write 1 http status (#13629)
1 parent0e933f0 commit5177f36

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

‎coderd/httpmw/organizationparam.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,6 @@ func ExtractOrganizationParam(db database.Store) func(http.Handler) http.Handler
7878
}
7979
ifhttpapi.Is404Error(dbErr) {
8080
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-
})
8581
return
8682
}
8783
ifdbErr!=nil {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp