Skip to content

Commit 8e779f7

Browse files
committed
feat: include sensitive details in notification message for sensitive content review
1 parent 6ed070f commit 8e779f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

models/floor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,6 +606,6 @@ func (floor *Floor) SendSensitive(_ *gorm.DB) error {
606606
URL: fmt.Sprintf("/api/floors/%d", floor.ID),
607607
}
608608
_, err := message.Send()
609-
utils.Notify(utils.NotificationTargetFeishuAdmin, desc+fmt.Sprintf("\n##%d\n%s", floor.ID, floor.Content))
609+
utils.Notify(utils.NotificationTargetFeishuAdmin, desc+fmt.Sprintf("\n##%d\n\n%s\n\n%s", floor.ID, floor.Content, floor.SensitiveDetail))
610610
return err
611611
}

0 commit comments

Comments
 (0)