update
parent
074d1d5582
commit
2de0509b26
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue