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 4e23ea7 commit 0562d2cCopy full SHA for 0562d2c
coderd/httpmw/organizationparam.go
@@ -76,7 +76,7 @@ func ExtractOrganizationMemberParam(db database.Store) func(http.Handler) http.H
76
UserID: user.ID,
77
})
78
if errors.Is(err, sql.ErrNoRows) {
79
- httpapi.Write(rw, http.StatusForbidden, httpapi.Response{
+ httpapi.Write(rw, http.StatusNotFound, httpapi.Response{
80
Message: "Not a member of the organization.",
81
82
return
0 commit comments