Commit e5a23653 authored by Brad King's avatar Brad King
Browse files

systemhooks: update for 9.3 changes

Remain compatible with GitLab 9.2 in addition to GitLab 9.3.
parent 45aadb02
......@@ -52,9 +52,9 @@ pub enum ProjectVisibility {
Public,
}
enum_serialize!(ProjectVisibility -> "project visibility",
Internal => "internal",
Private => "private",
Public => "public",
Internal => "internal" ; "visibilitylevel|internal",
Private => "private" ; "visibilitylevel|private",
Public => "public" ; "visibilitylevel|public",
);
#[cfg_attr(feature="strict", serde(deny_unknown_fields))]
......
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