userId bug
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user