Skip to content

Commit 0815bdc

Browse files
xrgzsForSourceCodeAnalysis
authored andcommitted
fix(123open): change DirectLink type from 'boolean' to 'bool' (OpenListTeam#1180)
Signed-off-by: MadDogOwner <xiaoran@xrgzs.top>
1 parent bc39b4a commit 0815bdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/123_open/meta.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ type Addition struct {
2828
UploadThread int `json:"UploadThread" type:"number" default:"3" help:"the threads of upload"`
2929

3030
// 使用直链
31-
DirectLink bool `json:"DirectLink" type:"boolean" default:"false" required:"false" help:"use direct link when download file"`
31+
DirectLink bool `json:"DirectLink" type:"bool" default:"false" required:"false" help:"use direct link when download file"`
3232
DirectLinkPrivateKey string `json:"DirectLinkPrivateKey" required:"false" help:"private key for direct link, if URL authentication is enabled"`
3333
DirectLinkValidDuration int64 `json:"DirectLinkValidDuration" type:"number" default:"30" required:"false" help:"minutes, if URL authentication is enabled"`
3434

0 commit comments

Comments
 (0)