diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-08 18:10:00 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-08 18:10:00 +0300 |
commit | 0ebbf19f2d2b87e1f2aca1c59efde1aa6a766cf6 (patch) | |
tree | b45534e86659ab6fa97c240563651b2e03dfce4d /doc/administration/file_hooks.md | |
parent | ccc2dc45a3e8fab3dfeda097be601b16c5beff13 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/administration/file_hooks.md')
-rw-r--r-- | doc/administration/file_hooks.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/administration/file_hooks.md b/doc/administration/file_hooks.md index c60f0040496..f6bbd2338be 100644 --- a/doc/administration/file_hooks.md +++ b/doc/administration/file_hooks.md @@ -79,7 +79,7 @@ require 'json' require 'mail' # The incoming variables are in JSON format so we need to parse it first. -ARGS = JSON.parse(STDIN.read) +ARGS = JSON.parse($stdin.read) # We only want to trigger this file hook on the event project_create return unless ARGS['event_name'] == 'project_create' |