This commit is contained in:
Sas Swart
2025-02-12 08:39:17 +00:00
parent 4fa66746ad
commit c31ee7b263

View File

@ -8149,8 +8149,9 @@ func (q *FakeQuerier) InsertPreset(_ context.Context, arg database.InsertPresetP
q.mutex.Lock()
defer q.mutex.Unlock()
//nolint:gosimple // arg needs to keep its type for interface reasons and that type is not appropriate for preset below.
preset := database.TemplateVersionPreset{
ID: uuid.New(),
ID: arg.ID,
TemplateVersionID: arg.TemplateVersionID,
Name: arg.Name,
CreatedAt: arg.CreatedAt,