Update astrbot/dashboard/routes/route.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
LIghtJUNctionandCopilot authored and GitHub committed 2026-02-06 04:19:41 +08:00
1 parent 1859206007
commit 4b1395b2c9
1 file changed
+2 -1
+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)