From e3257d14086d0c831b0eb60fdc617f1fc7ba66e5 Mon Sep 17 00:00:00 2001 From: Jake Turner Date: Fri, 5 Dec 2025 15:54:24 -0800 Subject: [PATCH] fix(ZimService): cleanup unused variable --- admin/app/services/zim_service.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/admin/app/services/zim_service.ts b/admin/app/services/zim_service.ts index 439baa4..2d5424a 100644 --- a/admin/app/services/zim_service.ts +++ b/admin/app/services/zim_service.ts @@ -168,7 +168,7 @@ export class ZimService { allowedMimeTypes: ZIM_MIME_TYPES, timeout: 30000, forceNew: true, - onComplete: (url, filepath) => this._downloadRemoteSuccessCallback([url], filepath), + onComplete: (url) => this._downloadRemoteSuccessCallback([url]), }) return filename @@ -216,15 +216,15 @@ export class ZimService { allowedMimeTypes: ZIM_MIME_TYPES, timeout: 30000, forceNew: true, - onComplete: (url, filepath) => - this._downloadRemoteSuccessCallback([url], filepath, isLastDownload), + onComplete: (url) => + this._downloadRemoteSuccessCallback([url], isLastDownload), }) } return downloadFilenames.length > 0 ? downloadFilenames : null } - async _downloadRemoteSuccessCallback(urls: string[], filepath: string, restart = true) { + async _downloadRemoteSuccessCallback(urls: string[], restart = true) { // Restart KIWIX container to pick up new ZIM file if (restart) { await this.dockerService