feat: Make template name editable (#3538)

This commit is contained in:
Bruno Quaresma
2022-08-17 16:04:00 -03:00
committed by GitHub
parent 4b646cc4fa
commit 546157b63e
9 changed files with 30 additions and 3 deletions

View File

@ -880,6 +880,7 @@ func (q *fakeQuerier) UpdateTemplateMetaByID(_ context.Context, arg database.Upd
continue
}
tpl.UpdatedAt = database.Now()
tpl.Name = arg.Name
tpl.Description = arg.Description
tpl.MaxTtl = arg.MaxTtl
tpl.MinAutostartInterval = arg.MinAutostartInterval