Skip to content

Commit 971c039

Browse files
committed
update response data
1 parent d996e74 commit 971c039

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jupiterone/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ def update_relationship(self, **kwargs) -> Dict:
444444
variables["relationship"].update(properties)
445445

446446
response = self._execute_query(query=UPDATE_RELATIONSHIPV2, variables=variables)
447-
return response["data"]["updateRelationship"]
447+
return response["data"]["updateRelationshipV2"]
448448

449449
def delete_relationship(self, relationship_id: str = None):
450450
"""Deletes a relationship between two entities.

0 commit comments

Comments
 (0)