Skip to content

Commit

Permalink
fix(123): change remove api (close #1760)
Browse files Browse the repository at this point in the history
  • Loading branch information
xhofe committed Sep 23, 2022
1 parent af946ff commit c929888
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/123/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ func (d *Pan123) Remove(ctx context.Context, obj model.Obj) error {
"operation": true,
"fileTrashInfoList": []File{f},
}
_, err := d.request("https://www.123pan.com/a/api/file/trash", http.MethodPost, func(req *resty.Request) {
_, err := d.request("https://www.123pan.com/b/api/file/trash", http.MethodPost, func(req *resty.Request) {
req.SetBody(data)
}, nil)
return err
Expand Down

0 comments on commit c929888

Please sign in to comment.