Update astrbot/dashboard/routes/route.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
LIghtJUNction
2026-02-06 04:19:41 +08:00
committed by GitHub
parent 1859206007
commit 4b1395b2c9
+2 -1
View File
@@ -59,4 +59,5 @@ class Response:
return self
def to_json(self):
return jsonify(asdict(self))
# Return a plain dict so callers can safely wrap with jsonify()
return asdict(self)