add return values to backend docstring,

fix return values of all backends
This commit is contained in:
2024-06-04 23:09:55 +00:00
parent b12f38e608
commit 01f55aa0cb
6 changed files with 64 additions and 83 deletions

View File

@@ -37,6 +37,7 @@ export async function checkAuth (cookies, res, vmpath = null) {
res.status(401).send({ auth, path: vmpath ? `${vmpath}/config` : "/version", error: "User token did not pass authentication check." });
res.end();
}
return auth;
}