Loading apigrpc/apigrpc.swagger.json +10 −0 Original line number Diff line number Diff line Loading @@ -1748,6 +1748,16 @@ "in": "path", "required": true, "type": "string" }, { "name": "user_ids", "description": "The users to demote.", "in": "query", "required": true, "type": "array", "items": { "type": "string" } } ], "tags": [ Loading server/api_group.go +1 −1 Original line number Diff line number Diff line Loading @@ -712,7 +712,7 @@ func (s *ApiServer) DemoteGroupUsers(ctx context.Context, in *api.DemoteGroupUse } if len(in.GetUserIds()) == 0 { return &empty.Empty{}, nil return nil, status.Error(codes.InvalidArgument, "User IDs must be set.") } userIDs := make([]uuid.UUID, 0, len(in.GetUserIds())) Loading Loading
apigrpc/apigrpc.swagger.json +10 −0 Original line number Diff line number Diff line Loading @@ -1748,6 +1748,16 @@ "in": "path", "required": true, "type": "string" }, { "name": "user_ids", "description": "The users to demote.", "in": "query", "required": true, "type": "array", "items": { "type": "string" } } ], "tags": [ Loading
server/api_group.go +1 −1 Original line number Diff line number Diff line Loading @@ -712,7 +712,7 @@ func (s *ApiServer) DemoteGroupUsers(ctx context.Context, in *api.DemoteGroupUse } if len(in.GetUserIds()) == 0 { return &empty.Empty{}, nil return nil, status.Error(codes.InvalidArgument, "User IDs must be set.") } userIDs := make([]uuid.UUID, 0, len(in.GetUserIds())) Loading