From 13911315d42b1bc384340b573563a28cdfb9506c Mon Sep 17 00:00:00 2001 From: polaris <2673986789@qq.com> Date: Sun, 26 May 2024 14:48:17 +0800 Subject: [PATCH] fix: sensitive title --- danke/schema/review.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/danke/schema/review.go b/danke/schema/review.go index 499e219..fe2023f 100644 --- a/danke/schema/review.go +++ b/danke/schema/review.go @@ -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 = "该内容正在审核中" } }