missinf field name

This commit is contained in:
Pavel 2024-04-30 01:24:22 +03:00
parent ccbdad7e64
commit 6dedaa14a9

@ -577,9 +577,11 @@ func (r *AmoRepository) CheckFields(ctx context.Context, fields []model.Field, t
Accountid: row.Amoid_2, Accountid: row.Amoid_2,
Entity: entity, Entity: entity,
Type: fieldType, Type: fieldType,
Name: row.Name,
} }
toUpdate = append(toUpdate, to) toUpdate = append(toUpdate, to)
} }
dollar1, err := json.Marshal(toUpdate) dollar1, err := json.Marshal(toUpdate)
if err != nil { if err != nil {
return err return err