mirror of
https://github.com/coder/coder.git
synced 2025-07-06 15:41:45 +00:00
feat: add template version creator (#3001)
This commit is contained in:
@ -1511,6 +1511,7 @@ func (q *fakeQuerier) InsertTemplateVersion(_ context.Context, arg database.Inse
|
||||
Name: arg.Name,
|
||||
Readme: arg.Readme,
|
||||
JobID: arg.JobID,
|
||||
CreatedBy: arg.CreatedBy,
|
||||
}
|
||||
q.templateVersions = append(q.templateVersions, version)
|
||||
return version, nil
|
||||
|
Reference in New Issue
Block a user