fix bug in /user/instances
This commit is contained in:
parent
0251bd51d4
commit
eeb96a9164
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