1
0
mirror of https://github.com/gilbertchen/duplicacy synced 2025-12-06 00:03:38 +00:00

Merge pull request #570 from philband/fix-b2_findbucket_401

Bugfix [B2]: Add BucketName to API call in FindBucket function
This commit is contained in:
gilbertchen
2019-06-28 09:53:36 -04:00
committed by GitHub

View File

@@ -344,6 +344,7 @@ func (client *B2Client) FindBucket(bucketName string) (err error) {
input := make(map[string]string)
input["accountId"] = client.AccountID
input["bucketName"] = bucketName
url := client.getAPIURL() + "/b2api/v1/b2_list_buckets"