aboutsummaryrefslogtreecommitdiff
path: root/user/client.go
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@protonmail.ch>2022-02-17 21:52:25 +0530
committerVidhu Kant Sharma <vidhukant@protonmail.ch>2022-02-17 21:52:25 +0530
commit7a910534c8d1e82420ef763b514f2763bda63e65 (patch)
tree4021d547862af5d5a78944ec6f251186b3647d4f /user/client.go
parent69a454a9a8430164c2ce798ecafee221404c50ec (diff)
updated the client in user and user/anime packages
Diffstat (limited to 'user/client.go')
-rw-r--r--user/client.go8
1 files changed, 2 insertions, 6 deletions
diff --git a/user/client.go b/user/client.go
index 7d5b800..2cdc79c 100644
--- a/user/client.go
+++ b/user/client.go
@@ -17,11 +17,7 @@
package user
import (
- "net/http"
+ "github.com/MikunoNaka/MAL2Go/util"
)
-// MyAnimeList Client for mal2go/anime package
-type MALUserClient struct {
- AuthToken, RefreshToken string
- HttpClient http.Client
-}
+type MALUserClient util.DefaultClient