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

Commitf5d1b62

Browse files
committed
Add missing return when template version is not found
1 parent982769f commitf5d1b62

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎coderd/organizations.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ func (api *api) postTemplatesByOrganization(rw http.ResponseWriter, r *http.Requ
180180
httpapi.Write(rw,http.StatusNotFound, httpapi.Response{
181181
Message:"template version does not exist",
182182
})
183+
return
183184
}
184185
iferr!=nil {
185186
httpapi.Write(rw,http.StatusInternalServerError, httpapi.Response{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp