mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-10-22 14:24:48 -04:00
fix build
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -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