Skip to content

Commit

Permalink
Update util.go
Browse files Browse the repository at this point in the history
  • Loading branch information
zengge99 authored Jun 17, 2024
1 parent 7674ff3 commit 477b401
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/quark_share/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func (d *QuarkShare) delete(fid string) {
}, nil)
}

func (d *QuarkShare) link(file model.Obj, fid string) (*model.Link, error) {
func (d *QuarkShare) PreviewLink(file model.Obj, fid string) (*model.Link, error) {
data := base.Json{
"fid": fid,
"resolutions": "normal,low,high,super,2k,4k",
Expand Down Expand Up @@ -155,7 +155,7 @@ func (d *QuarkShare) link(file model.Obj, fid string) (*model.Link, error) {
}, nil
}

func (d *QuarkShare) linkbk(file model.Obj, fid string) (*model.Link, error) {
func (d *QuarkShare) link(file model.Obj, fid string) (*model.Link, error) {
data := base.Json{
"fids": []string{fid},
}
Expand Down

0 comments on commit 477b401

Please sign in to comment.