From fcb4139d6823b1c7c928b84d204614e83dff0a40 Mon Sep 17 00:00:00 2001 From: ThaUnknown <6506529+ThaUnknown@users.noreply.github.com> Date: Thu, 9 Oct 2025 02:34:07 +0200 Subject: [PATCH] fix: dont query NNTP without pass --- package.json | 2 +- src/lib/modules/extensions/extensions.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 9184e7b..8cfe920 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ui", - "version": "6.4.151", + "version": "6.4.152", "license": "BUSL-1.1", "private": true, "packageManager": "pnpm@9.15.5", diff --git a/src/lib/modules/extensions/extensions.ts b/src/lib/modules/extensions/extensions.ts index 8d1e8de..c7646fd 100644 --- a/src/lib/modules/extensions/extensions.ts +++ b/src/lib/modules/extensions/extensions.ts @@ -260,6 +260,7 @@ export const extensions = new class Extensions { for (const [id, worker] of Object.entries(workers)) { const thisExtOpts = extopts[id]! if (!thisExtOpts.enabled) continue + if (!thisExtOpts.options.username || !thisExtOpts.options.password) continue if (configs[id]!.type !== 'nzb') continue try { const nzb = await worker.query(hash, thisExtOpts.options)