From 0f201712304c9f6ee0db11b94e158f8063061864 Mon Sep 17 00:00:00 2001 From: anilgupta Date: Wed, 30 Nov 2022 19:49:40 +0530 Subject: [PATCH] Issue #KN-439 test: Fixed update scenario where response is return with metadata without reading it again. --- .../src/main/scala/org/sunbird/graph/GraphService.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ontology-engine/graph-core_2.11/src/main/scala/org/sunbird/graph/GraphService.scala b/ontology-engine/graph-core_2.11/src/main/scala/org/sunbird/graph/GraphService.scala index 26afb68de..d555e8ff5 100644 --- a/ontology-engine/graph-core_2.11/src/main/scala/org/sunbird/graph/GraphService.scala +++ b/ontology-engine/graph-core_2.11/src/main/scala/org/sunbird/graph/GraphService.scala @@ -31,7 +31,7 @@ class GraphService { } def upsertRootNode(graphId: String, request: Request): Future[Node] = { - NodeAsyncOperations.upsertRootNode(graphId, request).map(resNode => if(isrRelativePathEnabled) CSPMetaUtil.updateAbsolutePath(resNode) else resNode) + NodeAsyncOperations.upsertRootNode(graphId, request) } def getNodeByUniqueId(graphId: String, nodeId: String, getTags: Boolean, request: Request): Future[Node] = {