Remove a debug message while we are at it
This commit is contained in:
parent
6b58dcfda5
commit
493fe731d0
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user