Hinzugefügt Highscore abfrage API

This commit is contained in:
2025-04-29 10:28:21 +02:00
parent decd4193c3
commit 873f1e367e
4 changed files with 55 additions and 5 deletions

View File

@@ -12,7 +12,7 @@ class DashboardRoute{
this.router.get("/", async (req, res) => await this.userInfo(req, res))
}
/**@param {express.Request} req @param {express.Response}*/
/**@param {express.Request} req @param {express.Response} res*/
async userInfo(req, res){
const user = await this.db.usermanager.getUser({id: req.session.user.id});