fix bug in /user/instances

This commit is contained in:
Arthur Lu 2023-04-21 22:40:12 +00:00
parent d2d1f25131
commit 9ad10f6c82

View File

@ -78,7 +78,7 @@ app.get("/api/user/resources", async(req, res) => {
app.get("/api/user/instances", async(req, res) => {
await checkAuth(req.cookies, res);
res.status(200).send({instances: getUser(re.cookies.username).instances})
res.status(200).send({instances: getUser(req.cookies.username).instances})
res.end();
return;
});