Skip to content

Commit

Permalink
Fix broken build
Browse files Browse the repository at this point in the history
  • Loading branch information
Diwaker Gupta committed Jul 26, 2017
1 parent cfa653e commit 422baf7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/logout.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func logout(cmd *cobra.Command, args []string) error {

for domain, tokens := range tokMap {
for _, token := range tokens {
config := dropbox.Config{token, false, "", domain, nil, nil, nil}
config := dropbox.Config{token, false, nil, "", domain, nil, nil, nil}
client := auth.New(config)
client.TokenRevoke()
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ func initDbx(cmd *cobra.Command, args []string) (err error) {
writeTokens(filePath, tokenMap)
}

config = dropbox.Config{tokens[tokType], verbose, asMember, domain, nil, nil, nil}
config = dropbox.Config{tokens[tokType], verbose, nil, asMember, domain, nil, nil, nil}

return
}
Expand Down

0 comments on commit 422baf7

Please sign in to comment.