From f55b56ee2ea867e62ab4dde16d637eb32922a579 Mon Sep 17 00:00:00 2001 From: Drew Blessing Date: Mon, 23 Oct 2017 11:52:06 +0000 Subject: Project member data includes `access_level` rather than `project_access` The documentation contained a bug, specifying that the project member data includes `project_access` as an attribute. The `SystemHooksService` specifies `access_level` instead. This fixes the documentation. --- doc/system_hooks/system_hooks.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/system_hooks/system_hooks.md b/doc/system_hooks/system_hooks.md index a45a4eb9e49..ab74c62e8ce 100644 --- a/doc/system_hooks/system_hooks.md +++ b/doc/system_hooks/system_hooks.md @@ -114,7 +114,7 @@ X-Gitlab-Event: System Hook "created_at": "2012-07-21T07:30:56Z", "updated_at": "2012-07-21T07:38:22Z", "event_name": "user_add_to_team", - "project_access": "Master", + "access_level": "Master", "project_id": 74, "project_name": "StoreCloud", "project_path": "storecloud", @@ -134,7 +134,7 @@ X-Gitlab-Event: System Hook "created_at": "2012-07-21T07:30:56Z", "updated_at": "2012-07-21T07:38:22Z", "event_name": "user_remove_from_team", - "project_access": "Master", + "access_level": "Master", "project_id": 74, "project_name": "StoreCloud", "project_path": "storecloud", -- cgit v1.2.1