🐛 Bug fixes
This commit is contained in:
parent
710e2dc040
commit
34d166bec8
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user