From 34d166bec8c55c6669ad81196525475e990bcbf6 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Tue, 17 Dec 2024 21:01:00 +0800 Subject: [PATCH] :bug: Bug fixes --- pkg/internal/services/posts.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/internal/services/posts.go b/pkg/internal/services/posts.go index abfc61b..15c2643 100644 --- a/pkg/internal/services/posts.go +++ b/pkg/internal/services/posts.go @@ -543,7 +543,6 @@ func ReactPost(user authm.Account, reaction models.Reaction) (bool, models.React op.TotalDownvote-- database.C.Model(&op).Update("total_downvote", op.TotalDownvote) } - database.C.Save(&op) } return false, reaction, err