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

Signed-off-by: Denis Kirillov <denis@nspcc.ru>
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
Denis Kirillov 2022-05-20 10:47:38 +03:00 committed by fyrchik
parent 45321b3f6d
commit b30f14978d

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),