minor refactor

This commit is contained in:
A.Unger
2020-01-31 13:25:51 +01:00
parent 351694d22d
commit 587a6a1a02
2 changed files with 8 additions and 7 deletions
-1
View File
@@ -19,7 +19,6 @@ type Service struct{}
// Set implements the SettingsServiceHandler interface generated on accounts.pb.micro.go
func (s Service) Set(c context.Context, req *proto.Record, res *proto.Record) error {
// TODO this should be a globally initialized struct
st := store.New()
settingsJSON, err := json.Marshal(req.Payload)