fix build

This commit is contained in:
A.Unger
2020-10-21 12:16:25 +02:00
parent 25a539c8fe
commit cbf13d0972
2 changed files with 2 additions and 2 deletions

View File

@@ -306,7 +306,7 @@ func (s Service) CreateAccount(ctx context.Context, in *proto.CreateAccountReque
var id string
if in.Account == nil {
return merrors.InternalServerError(s.id, "invalid account: empty", nil)
return merrors.InternalServerError(s.id, "invalid account: empty")
}
*out = *in.Account

View File

@@ -111,7 +111,7 @@ func (s Service) GetGroup(c context.Context, in *proto.GetGroupRequest, out *pro
// CreateGroup implements the GroupsServiceHandler interface
func (s Service) CreateGroup(c context.Context, in *proto.CreateGroupRequest, out *proto.Group) (err error) {
if in.Group == nil {
return merrors.InternalServerError(s.id, "invalid group: empty", nil)
return merrors.InternalServerError(s.id, "invalid group: empty")
}
*out = *in.Group