diff options
Diffstat (limited to 'gitlab/v4/objects/audit_events.py')
-rw-r--r-- | gitlab/v4/objects/audit_events.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gitlab/v4/objects/audit_events.py b/gitlab/v4/objects/audit_events.py index 20ea116..ab632bb 100644 --- a/gitlab/v4/objects/audit_events.py +++ b/gitlab/v4/objects/audit_events.py @@ -32,7 +32,7 @@ class GroupAuditEvent(RESTObject): class GroupAuditEventManager(RetrieveMixin, RESTManager): - _path = "/groups/%(group_id)s/audit_events" + _path = "/groups/{group_id}/audit_events" _obj_cls = GroupAuditEvent _from_parent_attrs = {"group_id": "id"} _list_filters = ("created_after", "created_before") @@ -43,7 +43,7 @@ class ProjectAuditEvent(RESTObject): class ProjectAuditEventManager(RetrieveMixin, RESTManager): - _path = "/projects/%(project_id)s/audit_events" + _path = "/projects/{project_id}/audit_events" _obj_cls = ProjectAuditEvent _from_parent_attrs = {"project_id": "id"} _list_filters = ("created_after", "created_before") |