mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-08 05:09:46 -06:00
fix build
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user