Docker compose con variabili d'ambiente

This commit is contained in:
Lorenzo Sanesi
2026-08-10 13:52:13 +02:00
parent f4afaf0792
commit 04ba3d541f
6 changed files with 147 additions and 50 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ class UsersController {
async getCurrentUser(req, res, next) {
try {
const user = await this.usersService.getUserById(req.userId);
const user = await this.usersService.getCurrentUserWithRank(req.userId);
return ResponseHandler.success(res, user, 'User retrieved successfully');
} catch (error) {
next(error);