Commit 45f6daab authored by Brad King's avatar Brad King 💬 Committed by Kitware Robot
Browse files

Merge topic 'hook-url-param'


 gitlab: set the url parameter for the hook
Acked-by: Kitware Robot's avatarKitware Robot <>
Reviewed-by: Brad King's avatarBrad King <>
Merge-request: !38
parents 22ede4f2 2937d82e
......@@ -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