Skip to content

Commit 486b049

Browse files
authored
Merge pull request #195 from capgoing/fix#198
🐛 [fix] graph dbId 추가로 인해 발생한 지식그래프 삭제 관련 오류 해결
2 parents d25af90 + 3420064 commit 486b049

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/going/server/domain/graph/service/GraphServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public void deleteGraph(Long graphId) {
7070
if (graph.getNodes() != null) {
7171
graph.getNodes().forEach(node -> graphNodeRepository.deleteById(node.getId()));
7272
}
73-
graphRepository.deleteById(graph.getId());
73+
graphRepository.deleteById(dbId);
7474
}
7575

7676
@Transactional(readOnly = true)

0 commit comments

Comments
 (0)