From 691c86d32195f5bb674fab0f673c7285e13ccedd Mon Sep 17 00:00:00 2001 From: josc146 Date: Sun, 21 May 2023 12:14:36 +0800 Subject: [PATCH] fix PauseDownload --- backend-golang/download.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend-golang/download.go b/backend-golang/download.go index 697c49d..9a856cf 100644 --- a/backend-golang/download.go +++ b/backend-golang/download.go @@ -48,7 +48,7 @@ func (a *App) PauseDownload(url string) { } downloadList[i] = DownloadStatus{ - resp: nil, + resp: ds.resp, Name: ds.Name, Path: ds.Path, Url: ds.Url,