Skip to content

Commit

Permalink
fix(baidu): unknown type for custom upload part size (close #6435)
Browse files Browse the repository at this point in the history
  • Loading branch information
xhofe committed May 9, 2024
1 parent b57afd0 commit 8bf9356
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/baidu_netdisk/meta.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type Addition struct {
AccessToken string
UploadThread string `json:"upload_thread" default:"3" help:"1<=thread<=32"`
UploadAPI string `json:"upload_api" default:"https://d.pcs.baidu.com"`
CustomUploadPartSize int64 `json:"custom_upload_part_size" default:"0" help:"0 for auto"`
CustomUploadPartSize int64 `json:"custom_upload_part_size" type:"number" default:"0" help:"0 for auto"`
}

var config = driver.Config{
Expand Down

0 comments on commit 8bf9356

Please sign in to comment.