From 96b19f697cfac022a35cec25b159796dbd54d3f5 Mon Sep 17 00:00:00 2001 From: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com> Date: Mon, 7 Apr 2025 15:19:36 +0200 Subject: [PATCH] pass in entity id --- ayon_api/operations.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/ayon_api/operations.py b/ayon_api/operations.py index 04fe8714d..b6805b379 100644 --- a/ayon_api/operations.py +++ b/ayon_api/operations.py @@ -1188,7 +1188,10 @@ def update_product( update_data[key] = value return self.update_entity( - project_name, "product", update_data + project_name, + "product", + product_id, + update_data ) def delete_product(self, project_name, product_id): @@ -1456,7 +1459,10 @@ def update_representation( update_data[key] = value return self.update_entity( - project_name, "representation", update_data + project_name, + "representation", + representation_id, + update_data ) def delete_representation(self, project_name, representation_id):