fix: serialize persistent profile mutations
This commit is contained in:
@@ -34,7 +34,7 @@ type State struct {
|
||||
|
||||
type Store interface {
|
||||
Load() (State, error)
|
||||
Save(State) error
|
||||
Mutate(func(State) (State, error)) (State, error)
|
||||
}
|
||||
|
||||
func ValidateAndNormalize(input Profile) (Profile, error) {
|
||||
|
||||
Reference in New Issue
Block a user