Skip to content

Commit b7064c0

Browse files
committed
default orphaned template versions to dynamic params
1 parent 0501cff commit b7064c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/templateversions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1471,7 +1471,7 @@ func (api *API) postTemplateVersionsByOrganization(rw http.ResponseWriter, r *ht
14711471
return
14721472
}
14731473

1474-
var dynamicTemplate bool
1474+
dynamicTemplate := true // Default to using dynamic templates
14751475
if req.TemplateID != uuid.Nil {
14761476
tpl, err := api.Database.GetTemplateByID(ctx, req.TemplateID)
14771477
if httpapi.Is404Error(err) {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy