fix bug in /user/instances
This commit is contained in:
parent
d2d1f25131
commit
9ad10f6c82
2
main.js
2
main.js
@ -78,7 +78,7 @@ app.get("/api/user/resources", async(req, res) => {
|
|||||||
|
|
||||||
app.get("/api/user/instances", async(req, res) => {
|
app.get("/api/user/instances", async(req, res) => {
|
||||||
await checkAuth(req.cookies, 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();
|
res.end();
|
||||||
return;
|
return;
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user