From 70d3724b491cb16081033970076155c8a9b5b95c Mon Sep 17 00:00:00 2001 From: Aleksandr Petrov Date: Mon, 29 Jul 2024 16:04:01 +0300 Subject: [PATCH] Fix recursive parameter --- pyartifactory/objects/artifact.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyartifactory/objects/artifact.py b/pyartifactory/objects/artifact.py index 66f18c5d..81070809 100644 --- a/pyartifactory/objects/artifact.py +++ b/pyartifactory/objects/artifact.py @@ -265,7 +265,7 @@ def update_properties( try: self._patch( f"api/metadata/{artifact_path}", - params={"recursive": int(recursive)}, + params={"recursiveProperties": int(recursive)}, headers={"Content-Type": "application/json"}, json={"props": properties}, )