userId bug

This commit is contained in:
Matthias Hochmeister
2026-03-03 15:00:53 +01:00
parent b3a2fd9ff9
commit c431c1af83

View File

@@ -220,7 +220,7 @@ class AtemschutzService {
// DASHBOARD KPI / STATISTIKEN
// =========================================================================
async getStats(userGroups: string[], userId: string): Promise<AtemschutzStats> {
async getStats(userGroups: string[], _userId: string): Promise<AtemschutzStats> {
const isPrivileged = userGroups.some(g => ATEMSCHUTZ_PRIVILEGED.includes(g));
if (!isPrivileged) {
return {