Merge branch 'master' of github.com:mattn/go-mastodon

This commit is contained in:
Yasuhiro Matsumoto 2017-04-24 17:50:32 +09:00
commit def474a7a5
4 changed files with 63 additions and 10 deletions

View file

@ -329,13 +329,13 @@ func run() int {
}
client := mastodon.NewClient(config)
if config.AccessToken == "" {
return authenticate(client, config, file)
}
app.Metadata = map[string]interface{}{
"client": client,
"config": config,
}
if config.AccessToken == "" {
return authenticate(client, config, file)
}
return nil
}