mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-09-11 11:50:17 +08:00
clean up status page code
This commit is contained in:
@@ -10,6 +10,7 @@ const handler = withRole("admin", async (req, res) => {
|
||||
"X-API-Key": process.env.FASTAPI_KEY,
|
||||
},
|
||||
});
|
||||
|
||||
const stats = await statsRes.json();
|
||||
|
||||
res.status(statsRes.status).json(stats);
|
||||
|
||||
Reference in New Issue
Block a user