jottacloud: rename unused variable to _ in jottacloud.go

This commit is contained in:
Aaron Gokaslan 2020-08-31 07:41:29 -07:00 committed by Nick Craig-Wood
parent c31defbbd3
commit 7dcbebf9bc
1 changed files with 1 additions and 1 deletions

View File

@ -353,7 +353,7 @@ func doAuthV1(ctx context.Context, srv *rest.Client, username, password string)
authCode = strings.Replace(authCode, "-", "", -1) // remove any "-" contained in the code so we have a 6 digit number
opts.ExtraHeaders = make(map[string]string)
opts.ExtraHeaders["X-Jottacloud-Otp"] = authCode
resp, err = srv.CallJSON(ctx, &opts, nil, &jsonToken)
_, err = srv.CallJSON(ctx, &opts, nil, &jsonToken)
}
}
}