[#1404] services/tree: fix nodeId in GetSubTree

Signed-off-by: Denis Kirillov <denis@nspcc.ru>
This commit is contained in:
Denis Kirillov 2022-05-20 10:47:38 +03:00 committed by Evgenii Stratonikov
parent 427f63e359
commit 7af3424bad

View file

@ -275,7 +275,7 @@ func (s *Service) GetSubTree(req *GetSubTreeRequest, srv TreeService_GetSubTreeS
}
err = srv.Send(&GetSubTreeResponse{
Body: &GetSubTreeResponse_Body{
NodeId: b.GetRootId(),
NodeId: nodeID,
ParentId: b.GetRootId(),
Timestamp: m.Time,
Meta: metaToProto(m.Items),