aboutsummaryrefslogtreecommitdiff
path: root/user/anime/update_animelist.go
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@protonmail.ch>2022-02-28 11:54:27 +0530
committerVidhu Kant Sharma <vidhukant@protonmail.ch>2022-02-28 11:54:27 +0530
commit2bf5302f9a653f46f7932329fd03aa3688afc35b (patch)
tree73b2a3fd2d972ef1735a4b6f450bfa1ca02aa1ec /user/anime/update_animelist.go
parent06425ac756f916bca10d0f8797cf575a77dcf69d (diff)
documented all the functions in user/anime
Diffstat (limited to 'user/anime/update_animelist.go')
-rw-r--r--user/anime/update_animelist.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/user/anime/update_animelist.go b/user/anime/update_animelist.go
index 5f6025a..8371691 100644
--- a/user/anime/update_animelist.go
+++ b/user/anime/update_animelist.go
@@ -121,7 +121,7 @@ func (c Client)SetRewatchValue(id int, rewatchValue int) (serverResponse, error)
}
// update just an anime's rewatch count
-func (c Client)UpdateRewatchCount(id int, rewatchCount int) (serverResponse, error) {
+func (c Client)SetRewatchCount(id int, rewatchCount int) (serverResponse, error) {
endpoint := endpointGenerator(id)
// data to be sent to the server