Remove a debug message while we are at it

This commit is contained in:
Bat 2018-07-18 19:02:31 +02:00
parent 6b58dcfda5
commit 493fe731d0

View file

@ -75,7 +75,6 @@ impl Comment {
let mentions = Mention::list_for_comment(conn, self.id).into_iter() let mentions = Mention::list_for_comment(conn, self.id).into_iter()
.map(|m| m.get_mentioned(conn).map(|u| u.get_fqn(conn)).unwrap_or(String::new())) .map(|m| m.get_mentioned(conn).map(|u| u.get_fqn(conn)).unwrap_or(String::new()))
.collect::<Vec<String>>(); .collect::<Vec<String>>();
println!("{:?}", mentions);
json["mentions"] = serde_json::to_value(mentions).unwrap(); json["mentions"] = serde_json::to_value(mentions).unwrap();
json json
} }