summaryrefslogtreecommitdiff
path: root/hooks/update
diff options
context:
space:
mode:
Diffstat (limited to 'hooks/update')
-rwxr-xr-xhooks/update2
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/update b/hooks/update
index 223575d..4c2fc08 100755
--- a/hooks/update
+++ b/hooks/update
@@ -11,7 +11,7 @@ key_id = ENV.delete('GL_ID')
require_relative '../lib/gitlab_custom_hook'
-if GitlabCustomHook.new(key_id).update(ref_name, old_value, new_value, repo_path)
+if GitlabCustomHook.new(repo_path, key_id).update(ref_name, old_value, new_value)
exit 0
else
exit 1