Commit 16f08d6f authored by nanahira's avatar nanahira

fix

parent ae57a7c2
......@@ -133,7 +133,7 @@ http.createServer(function (req, res) {
if (!hook) {
return return_error(res, "Invalid format.");
}
var hook_info = hooks[hook];
var hook_info = config.hooks[hook];
if (!hook_info) {
return return_error(res, "Hooked repo not found.");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment