aboutsummaryrefslogtreecommitdiff
path: root/anime/request_handler.go
diff options
context:
space:
mode:
Diffstat (limited to 'anime/request_handler.go')
-rw-r--r--anime/request_handler.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/anime/request_handler.go b/anime/request_handler.go
index fe4f874..00703bc 100644
--- a/anime/request_handler.go
+++ b/anime/request_handler.go
@@ -24,7 +24,7 @@ import (
// Handles HTTP request with your OAuth token as a Header
// TODO: Verify that this function is safe to use
-func (c AnimeClient) requestHandler(endpoint string) string {
+func (c Client) requestHandler(endpoint string) string {
// generate request
req, err := http.NewRequest("GET", endpoint, nil)
if err != nil {