diff options
author | Drew Blessing <drew@blessing.io> | 2017-10-23 11:52:06 +0000 |
---|---|---|
committer | Drew Blessing <drew@blessing.io> | 2017-10-23 11:52:06 +0000 |
commit | f55b56ee2ea867e62ab4dde16d637eb32922a579 (patch) | |
tree | 83df8bc4a533c4185de761c311e8dc402dbed468 | |
parent | 27319ffca2510aaa9f8cbcb545550781b61cc1e5 (diff) | |
download | gitlab-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.md | 4 |
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", |