clean up status page code

This commit is contained in:
ml729
2023-01-21 12:55:30 -05:00
parent 812c8cb209
commit 91bb560383
2 changed files with 162 additions and 139 deletions
+1
View File
@@ -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);