Skip to content

Commit 654b9f9

Browse files
authored
Merge pull request #261 from ynput/bugfix/delete-representation
Delete representation fix
2 parents 25fd9f7 + 094f25b commit 654b9f9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ayon_api/operations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1489,5 +1489,5 @@ def delete_representation(self, project_name, representation_id):
14891489
14901490
"""
14911491
return self.delete_entity(
1492-
project_name, "representaion", representation_id
1492+
project_name, "representation", representation_id
14931493
)

ayon_api/server_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7601,7 +7601,7 @@ def delete_representation(
76017601
76027602
"""
76037603
response = self.delete(
7604-
f"projects/{project_name}/representation/{representation_id}"
7604+
f"projects/{project_name}/representations/{representation_id}"
76057605
)
76067606
response.raise_for_status()
76077607

0 commit comments

Comments
 (0)