From b30f14978dba34c89efd832333fd286cc1f234ee Mon Sep 17 00:00:00 2001 From: Denis Kirillov Date: Fri, 20 May 2022 10:47:38 +0300 Subject: [PATCH] [#1404] services/tree: Fix nodeId in GetSubTree Signed-off-by: Denis Kirillov Signed-off-by: Evgenii Stratonikov --- pkg/services/tree/service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/services/tree/service.go b/pkg/services/tree/service.go index 9647e0b8..3947d712 100644 --- a/pkg/services/tree/service.go +++ b/pkg/services/tree/service.go @@ -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),