From 86e5dae4d1a2275a1b99f35fc926f60b4c3f63b0 Mon Sep 17 00:00:00 2001 From: Code2qing Date: Sat, 4 Feb 2023 11:10:28 +0800 Subject: [PATCH] fix(aliyundrive_share): no permission after share_id change (#3246) --- drivers/aliyundrive_share/driver.go | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/aliyundrive_share/driver.go b/drivers/aliyundrive_share/driver.go index 9d9206832b1..f0fd09100fb 100644 --- a/drivers/aliyundrive_share/driver.go +++ b/drivers/aliyundrive_share/driver.go @@ -54,6 +54,7 @@ func (d *AliyundriveShare) Drop(ctx context.Context) error { if d.cron != nil { d.cron.Stop() } + d.DriveId = "" return nil }