Updated app/controllers/hook.go.