From 1bbb8b64a3e4c0f882d4d9c353794e99f178749d Mon Sep 17 00:00:00 2001 From: Parker Erickson Date: Fri, 6 Sep 2024 11:57:45 -0500 Subject: [PATCH] fix --- eventual-consistency-service/app/graphrag/util.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eventual-consistency-service/app/graphrag/util.py b/eventual-consistency-service/app/graphrag/util.py index 50d02428..873d856a 100644 --- a/eventual-consistency-service/app/graphrag/util.py +++ b/eventual-consistency-service/app/graphrag/util.py @@ -341,8 +341,8 @@ async def add_rels_between_types(conn): logger.error(f"Check Vert EntityType err:\n{resp.text}") return {"error": True, "message": resp.text} else: - res = resp.json()["results"][0]["relationships_inserted"] - logger.info(resp.json()["results"]) + res = resp.json() + logger.info(resp.json()) return res async def check_vertex_has_desc(conn, i: int):