🐛 Bug fixes

This commit is contained in:
LittleSheep 2024-12-17 21:01:00 +08:00
parent 710e2dc040
commit 34d166bec8

View File

@ -543,7 +543,6 @@ func ReactPost(user authm.Account, reaction models.Reaction) (bool, models.React
op.TotalDownvote-- op.TotalDownvote--
database.C.Model(&op).Update("total_downvote", op.TotalDownvote) database.C.Model(&op).Update("total_downvote", op.TotalDownvote)
} }
database.C.Save(&op)
} }
return false, reaction, err return false, reaction, err