From 50cd69f378179eedb8e327d13267abb6df4ab9c5 Mon Sep 17 00:00:00 2001 From: Ching Date: Sun, 13 Oct 2024 14:32:09 +0800 Subject: [PATCH] =?UTF-8?q?fix(api):=20=E4=BF=AE=E5=A4=8D=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E4=B8=8B=E5=8E=A8=E6=88=BF=E8=8F=9C=E8=B0=B1=E9=80=9A?= =?UTF-8?q?=E7=9F=A5=E5=A4=B1=E8=B4=A5=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index b384ce3..839d29a 100644 --- a/app.py +++ b/app.py @@ -484,7 +484,7 @@ def consume_stream(): resp, status_code, recipe_name = add_recipe_from_url(msg['url']) if status_code == 200: r.xack(STREAM_KEY, CONSUMER_GROUP, msg_id) - bark_push(f'{recipe_name} 添加成功') + bark_push(f'{recipe_name} 添加成功', f'地址 {msg["url"]}') else: logger.error(f"Failed to process message: {msg['url']} {resp}") bark_push('食谱添加失败', '%s 来源 %s' % (resp['message'], msg['url']))