diff options
author | Vidhu Kant Sharma <vidhukant@protonmail.ch> | 2022-02-17 21:55:42 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@protonmail.ch> | 2022-02-17 21:55:42 +0530 |
commit | f1a83e9b5cf1931adcdccef9db4586eeab987700 (patch) | |
tree | dd2f0ea29cfa0d585427a403a5be32a8ff4d4272 /anime/request_handler.go | |
parent | 7a910534c8d1e82420ef763b514f2763bda63e65 (diff) |
actually fixed all the errors with broken imports and clients
Diffstat (limited to 'anime/request_handler.go')
-rw-r--r-- | anime/request_handler.go | 2 |
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 { |