From d71800bb2d7ea4427da75105e7830082d2d832f0 Mon Sep 17 00:00:00 2001 From: Gauvain Pocentek Date: Tue, 23 May 2017 21:56:20 +0200 Subject: [PATCH] [v4] Update project keys endpoint --- gitlab/v4/objects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py index 6987da881..d781fe4df 100644 --- a/gitlab/v4/objects.py +++ b/gitlab/v4/objects.py @@ -839,7 +839,7 @@ class ProjectEnvironmentManager(BaseManager): class ProjectKey(GitlabObject): - _url = '/projects/%(project_id)s/keys' + _url = '/projects/%(project_id)s/deploy_keys' canUpdate = False requiredUrlAttrs = ['project_id'] requiredCreateAttrs = ['title', 'key']