summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects/releases.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/v4/objects/releases.py')
-rw-r--r--gitlab/v4/objects/releases.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gitlab/v4/objects/releases.py b/gitlab/v4/objects/releases.py
index 64ea7c5..e14f42a 100644
--- a/gitlab/v4/objects/releases.py
+++ b/gitlab/v4/objects/releases.py
@@ -18,7 +18,7 @@ class ProjectRelease(SaveMixin, RESTObject):
class ProjectReleaseManager(CRUDMixin, RESTManager):
- _path = "/projects/%(project_id)s/releases"
+ _path = "/projects/{project_id}/releases"
_obj_cls = ProjectRelease
_from_parent_attrs = {"project_id": "id"}
_create_attrs = RequiredOptional(
@@ -39,7 +39,7 @@ class ProjectReleaseLink(ObjectDeleteMixin, SaveMixin, RESTObject):
class ProjectReleaseLinkManager(CRUDMixin, RESTManager):
- _path = "/projects/%(project_id)s/releases/%(tag_name)s/assets/links"
+ _path = "/projects/{project_id}/releases/{tag_name}/assets/links"
_obj_cls = ProjectReleaseLink
_from_parent_attrs = {"project_id": "project_id", "tag_name": "tag_name"}
_create_attrs = RequiredOptional(