From 815552d470a8ddf9506be8fc4d6a714a8d16212d Mon Sep 17 00:00:00 2001 From: xream Date: Thu, 28 Nov 2024 15:44:55 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=89=BE=E4=B8=8D=E5=88=B0=E8=B5=84?= =?UTF-8?q?=E6=BA=90=E6=97=B6=E4=B8=8D=E9=80=9A=E7=9F=A5,=20=E4=BB=85?= =?UTF-8?q?=E4=BF=9D=E7=95=99=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/package.json | 2 +- backend/src/restful/download.js | 4 ++-- backend/src/restful/file.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/package.json b/backend/package.json index 0c8fb8b2c..a79886f38 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,6 +1,6 @@ { "name": "sub-store", - "version": "2.14.429", + "version": "2.14.430", "description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.", "main": "src/main.js", "scripts": { diff --git a/backend/src/restful/download.js b/backend/src/restful/download.js index b2060f589..090789478 100644 --- a/backend/src/restful/download.js +++ b/backend/src/restful/download.js @@ -255,7 +255,7 @@ async function downloadSubscription(req, res) { ); } } else { - $.notify(`🌍 Sub-Store 下载订阅失败`, `❌ 未找到订阅:${name}!`); + $.error(`🌍 Sub-Store 下载订阅失败`, `❌ 未找到订阅:${name}!`); failed( res, new ResourceNotFoundError( @@ -457,7 +457,7 @@ async function downloadCollection(req, res) { ); } } else { - $.notify( + $.error( `🌍 Sub-Store 下载组合订阅失败`, `❌ 未找到组合订阅:${name}!`, ); diff --git a/backend/src/restful/file.js b/backend/src/restful/file.js index 2a456a2e5..21c9a8a41 100644 --- a/backend/src/restful/file.js +++ b/backend/src/restful/file.js @@ -179,7 +179,7 @@ async function getFile(req, res) { ); } } else { - $.notify(`🌍 Sub-Store 下载文件失败`, `❌ 未找到文件:${name}!`); + $.error(`🌍 Sub-Store 下载文件失败`, `❌ 未找到文件:${name}!`); failed( res, new ResourceNotFoundError(