Skip to content

Commit 04cc479

Browse files
committed
Revert "Add missing return when template version is not found"
This reverts commit f5d1b62. This will be added in a separate PR.
1 parent 1de1986 commit 04cc479

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

coderd/organizations.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@ 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
184183
}
185184
if err != nil {
186185
httpapi.Write(rw, http.StatusInternalServerError, httpapi.Response{

0 commit comments

Comments
 (0)