From afb898e61fc7e8ba8cbe38f4858cde6bd3191914 Mon Sep 17 00:00:00 2001 From: SpencerFang0617 Date: Thu, 9 Jul 2026 15:47:57 +0800 Subject: [PATCH] fix(line): remove unexpected force argument from get_json (#9187) --- astrbot/core/platform/sources/line/line_adapter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/astrbot/core/platform/sources/line/line_adapter.py b/astrbot/core/platform/sources/line/line_adapter.py index 33959f6f7..06daee652 100644 --- a/astrbot/core/platform/sources/line/line_adapter.py +++ b/astrbot/core/platform/sources/line/line_adapter.py @@ -133,7 +133,7 @@ class LinePlatformAdapter(Platform): return "invalid signature", 400 try: - payload = await request.get_json(force=True, silent=False) + payload = await request.get_json(silent=False) except Exception as e: logger.warning("[LINE] invalid webhook body: %s", e) return "bad request", 400