Skip to content

Commit

Permalink
fix: sensitive title
Browse files Browse the repository at this point in the history
  • Loading branch information
ppolariss committed May 26, 2024
1 parent fb286f9 commit 1391131
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions danke/schema/review.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,10 @@ func (r *ReviewV1Response) FromModel(
if review.Sensitive() {
if review.IsActuallySensitive != nil && *review.IsActuallySensitive {
r.Content = "该内容因违反社区规范被删除"
r.Title = "该内容因违反社区规范被删除"
} else {
r.Content = "该内容正在审核中"
r.Title = "该内容正在审核中"
}
}

Expand Down

0 comments on commit 1391131

Please sign in to comment.