summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew Blessing <drew@blessing.io>2017-10-23 11:52:06 +0000
committerDrew Blessing <drew@blessing.io>2017-10-23 11:52:06 +0000
commitf55b56ee2ea867e62ab4dde16d637eb32922a579 (patch)
tree83df8bc4a533c4185de761c311e8dc402dbed468
parent27319ffca2510aaa9f8cbcb545550781b61cc1e5 (diff)
downloadgitlab-ce-fix_system_hook_docs.tar.gz
Project member data includes `access_level` rather than `project_access`fix_system_hook_docs
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.
-rw-r--r--doc/system_hooks/system_hooks.md4
1 files 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",