aboutsummaryrefslogtreecommitdiff
path: root/user/request_handler.go
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@protonmail.ch>2022-02-17 21:55:42 +0530
committerVidhu Kant Sharma <vidhukant@protonmail.ch>2022-02-17 21:55:42 +0530
commitf1a83e9b5cf1931adcdccef9db4586eeab987700 (patch)
treedd2f0ea29cfa0d585427a403a5be32a8ff4d4272 /user/request_handler.go
parent7a910534c8d1e82420ef763b514f2763bda63e65 (diff)
actually fixed all the errors with broken imports and clients
Diffstat (limited to 'user/request_handler.go')
-rw-r--r--user/request_handler.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/user/request_handler.go b/user/request_handler.go
index da8c5f7..47a1699 100644
--- a/user/request_handler.go
+++ b/user/request_handler.go
@@ -23,7 +23,7 @@ import (
)
// Handles HTTP request with your OAuth token as a Header
-func (c MALUserClient) requestHandler(endpoint string) string {
+func (c Client) requestHandler(endpoint string) string {
// generate request
req, err := http.NewRequest("GET", endpoint, nil)
if err != nil {