Commit 67629a1b authored by Robert Czechowski's avatar Robert Czechowski
Browse files

Dump list of participations to profile template (unfiltered)

parent 70d9e537
......@@ -872,6 +872,10 @@ pub fn show_profile<T: MedalConnection>(conn: &T, session_token: &str, user_id:
// TODO: Needs to be filtered
let participations: Vec<(i32, String)> = conn.get_all_participations_complete(|(_participation, contest)| (,;
data.insert("ownparticipations".into(), to_json(&participations));
Some(user_id) => {
// TODO: Add test to check if this access restriction works
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