mirror of
https://github.com/AstrBotDevs/AstrBot
synced 2026-07-16 09:40:30 +08:00
fix(line): remove unexpected force argument from get_json (#9187)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user