Commit ea9eded9 authored by Ben Boeckel's avatar Ben Boeckel
Browse files

gitlab: use the existing method

parent 066f4390
......@@ -101,7 +101,7 @@ impl Gitlab {
};
// Ensure the API is working.
let _: UserPublic = api._get("user")?;
let _: UserPublic = api.current_user()?;
Ok(api)
}
......
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