Commit 5f8bba76 authored by Robert Czechowski's avatar Robert Czechowski

Fix warning (unused variable)

parent 47d0c58e
Pipeline #695 passed with stages
in 28 minutes and 6 seconds
......@@ -1278,7 +1278,7 @@ pub fn admin_delete_participation<T: MedalConnection>(conn: &T, user_id: i32, co
}
pub fn admin_show_contests<T: MedalConnection>(conn: &T, session_token: &str) -> MedalValueResult {
let session = conn.get_session(&session_token)
let _session = conn.get_session(&session_token)
.ensure_logged_in()
.ok_or(MedalError::NotLoggedIn)?
.ensure_admin()
......
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