Update astrbot/dashboard/routes/route.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
1 parent
1859206007
commit
4b1395b2c9
1 file changed
+2
-1
@@ -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)
|
||||
Reference in new issue
Block a user