This commit is contained in:
choizhang
2025-04-12 15:09:44 +08:00
parent 272b101974
commit 5e5f3640d7
4 changed files with 209 additions and 115 deletions

View File

@@ -540,8 +540,8 @@ export const updateRelation = async (
updatedData: Record<string, any>
): Promise<DocActionResponse> => {
const response = await axiosInstance.post('/graph/relation/edit', {
source_entity: sourceEntity,
target_entity: targetEntity,
source_id: sourceEntity,
target_id: targetEntity,
updated_data: updatedData
})
return response.data