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 /user/user.go | |
parent | 7a910534c8d1e82420ef763b514f2763bda63e65 (diff) |
actually fixed all the errors with broken imports and clients
Diffstat (limited to 'user/user.go')
-rw-r--r-- | user/user.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/user/user.go b/user/user.go index 31ac8dc..9c52150 100644 --- a/user/user.go +++ b/user/user.go @@ -23,7 +23,7 @@ import ( const BASE_URL string = "https://api.myanimelist.net/v2/users" // Get info of logged in user -func (c *MALUserClient) GetSelfUserInfo() UserInfo { +func (c Client) GetSelfUserInfo() UserInfo { /* MAL only supports @me for this */ endpoint := BASE_URL + "/@me?fields=anime_statistics" |