From 7674ff3c1a5d28423c1187928621ad296f80ea6c Mon Sep 17 00:00:00 2001 From: zengge99 <83830807+zengge99@users.noreply.github.com> Date: Mon, 17 Jun 2024 23:25:35 +0800 Subject: [PATCH] Update driver.go --- drivers/quark_share/driver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/quark_share/driver.go b/drivers/quark_share/driver.go index 2f8a1c99041..fa2d3a86321 100644 --- a/drivers/quark_share/driver.go +++ b/drivers/quark_share/driver.go @@ -61,7 +61,7 @@ func (d *QuarkShare) Link(ctx context.Context, file model.Obj, args model.LinkAr return cacheLink, nil } fid := d.save(file) - link, err := d.link(file, fid) + link, err := d.previewLink(file, fid) if err == nil { d.linkMap[file.GetID()] = link }