From 9919a48e9ae52ea6050537f5a4adca9723b8e4b6 Mon Sep 17 00:00:00 2001 From: bytedream Date: Thu, 23 Jun 2022 16:57:49 +0200 Subject: [PATCH] Change 'UnreportComment' to 'RemoveReport' --- comment.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/comment.go b/comment.go index 762b57b..811433f 100644 --- a/comment.go +++ b/comment.go @@ -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") }