aboutsummaryrefslogtreecommitdiff
path: root/mal/mal.go
diff options
context:
space:
mode:
Diffstat (limited to 'mal/mal.go')
-rw-r--r--mal/mal.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/mal/mal.go b/mal/mal.go
index b961bfd..da25eb3 100644
--- a/mal/mal.go
+++ b/mal/mal.go
@@ -22,12 +22,14 @@ import (
"github.com/MikunoNaka/macli/auth"
a "github.com/MikunoNaka/MAL2Go/anime"
m "github.com/MikunoNaka/MAL2Go/manga"
+ u "github.com/MikunoNaka/MAL2Go/user"
ua "github.com/MikunoNaka/MAL2Go/user/anime"
um "github.com/MikunoNaka/MAL2Go/user/manga"
)
var animeClient a.Client
var mangaClient m.Client
+var userClient u.Client
var userAnimeClient ua.Client
var userMangaClient um.Client
@@ -37,6 +39,7 @@ func Init() {
// initialise MAL2Go Client(s)
animeClient.AuthToken = "Bearer " + secret
mangaClient.AuthToken = "Bearer " + secret
+ userClient.AuthToken = "Bearer " + secret
userAnimeClient.AuthToken = "Bearer " + secret
userMangaClient.AuthToken = "Bearer " + secret
}