aboutsummaryrefslogtreecommitdiffstats
path: root/models/issues/comment.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/issues/comment.go')
-rw-r--r--models/issues/comment.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/models/issues/comment.go b/models/issues/comment.go
index dbe4434ca7..303c23916b 100644
--- a/models/issues/comment.go
+++ b/models/issues/comment.go
@@ -1131,7 +1131,7 @@ func DeleteComment(ctx context.Context, comment *Comment) error {
}
if _, err := e.Table("action").
Where("comment_id = ?", comment.ID).
- Update(map[string]interface{}{
+ Update(map[string]any{
"is_deleted": true,
}); err != nil {
return err
@@ -1156,7 +1156,7 @@ func UpdateCommentsMigrationsByType(tp structs.GitServiceType, originalAuthorID
}),
)).
And("comment.original_author_id = ?", originalAuthorID).
- Update(map[string]interface{}{
+ Update(map[string]any{
"poster_id": posterID,
"original_author": "",
"original_author_id": 0,