Browse Source

fix: not use title for report

master
hole-thu 3 years ago
parent
commit
3b8efc0c0b
  1. 2
      src/api/operation.rs

2
src/api/operation.rs

@ -117,7 +117,7 @@ pub async fn report(ri: Form<ReportInput>, user: CurrentUser, db: Db, rconn: Rds
}
Systemlog {
user_hash: user.custom_title.unwrap_or(look!(user.namehash)),
user_hash: look!(user.namehash),
action_type: LogType::Report,
target: format!("#{}", ri.pid),
detail: ri.reason.clone(),

Loading…
Cancel
Save