Change 'UnreportComment' to 'RemoveReport'

This commit is contained in:
bytedream 2022-06-23 16:57:49 +02:00
parent ead1db2be8
commit 9919a48e9a

View file

@ -217,9 +217,9 @@ func (c *Comment) Report() error {
return c.vote("inappropriate", "reported")
}
// UnreportComment removes the report request from the comment. Only works if the user
// RemoveReport removes the report request from the comment. Only works if the user
// has reported the comment.
func (c *Comment) UnreportComment() error {
func (c *Comment) RemoveReport() error {
return c.unVote("inappropriate", "reported")
}