mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
refactor: Show template versions as timeline (#4800)
This commit is contained in:
@ -658,10 +658,7 @@ func (api *API) autoImportTemplate(ctx context.Context, opts autoImportTemplateO
|
||||
Name: namesgenerator.GetRandomName(1),
|
||||
Readme: "",
|
||||
JobID: job.ID,
|
||||
CreatedBy: uuid.NullUUID{
|
||||
UUID: opts.userID,
|
||||
Valid: true,
|
||||
},
|
||||
CreatedBy: opts.userID,
|
||||
})
|
||||
if err != nil {
|
||||
return xerrors.Errorf("insert template version: %w", err)
|
||||
|
Reference in New Issue
Block a user