1
mirror of https://github.com/rclone/rclone synced 2024-11-27 05:23:40 +01:00

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

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)
}
}
}