feat: fix Google cloud storage provider bug

This commit is contained in:
Yang Luo
2023-12-14 00:06:38 +08:00
parent dc06eb9948
commit 08864686f3
7 changed files with 272 additions and 49 deletions

View File

@ -33,7 +33,7 @@ func GetStorageProvider(providerType string, clientId string, clientSecret strin
case "Qiniu Cloud Kodo":
return NewQiniuCloudKodoStorageProvider(clientId, clientSecret, region, bucket, endpoint)
case "Google Cloud Storage":
return NewGoogleCloudStorageProvider(clientId, clientSecret, bucket, endpoint)
return NewGoogleCloudStorageProvider(clientSecret, bucket, endpoint)
}
return nil