Commit 2937d82e authored by Ben Boeckel's avatar Ben Boeckel
Browse files

gitlab: set the url parameter for the hook

parent 22ede4f2
......@@ -171,6 +171,8 @@ impl Gitlab {
let mut req = try!(self._mkrequest(&format!("projects/{}/hooks", project)));
Self::set_event_flags(&mut req, events);
req.param("url", url);
self._post(&format!("projects/{}/hooks", project))
}
......
Supports Markdown
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