diff options
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' |