Skip to content

Commit 422baf7

Browse files
author
Diwaker Gupta
committed
Fix broken build
1 parent cfa653e commit 422baf7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

cmd/logout.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func logout(cmd *cobra.Command, args []string) error {
3939

4040
for domain, tokens := range tokMap {
4141
for _, token := range tokens {
42-
config := dropbox.Config{token, false, "", domain, nil, nil, nil}
42+
config := dropbox.Config{token, false, nil, "", domain, nil, nil, nil}
4343
client := auth.New(config)
4444
client.TokenRevoke()
4545
if err != nil {

cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ func initDbx(cmd *cobra.Command, args []string) (err error) {
187187
writeTokens(filePath, tokenMap)
188188
}
189189

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

192192
return
193193
}

0 commit comments

Comments
 (0)