diff --git a/attribute/attribute.go b/attribute/attribute.go index 64cb925..6607f3a 100644 --- a/attribute/attribute.go +++ b/attribute/attribute.go @@ -33,12 +33,12 @@ func Init() error { return nil } -func Add(Key, Description, Default, Value string) error { +func Add(Key, Description, Default string) error { a := &Attribute{ Key: Key, Description: Description, Default: Default, - Value: Value, + Value: Default, } return store.DB.Create(a).Error }