mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 12:12:00 -06:00
Change 'UnreportComment' to 'RemoveReport'
This commit is contained in:
parent
ead1db2be8
commit
9919a48e9a
1 changed files with 2 additions and 2 deletions
|
|
@ -217,9 +217,9 @@ func (c *Comment) Report() error {
|
||||||
return c.vote("inappropriate", "reported")
|
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.
|
// has reported the comment.
|
||||||
func (c *Comment) UnreportComment() error {
|
func (c *Comment) RemoveReport() error {
|
||||||
return c.unVote("inappropriate", "reported")
|
return c.unVote("inappropriate", "reported")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue