add features

This commit is contained in:
Matthias Hochmeister
2026-02-27 20:33:43 +01:00
parent e2713e25ba
commit 46d3f5b351
9 changed files with 33 additions and 52 deletions

View File

@@ -375,7 +375,7 @@ class MemberService {
await this.updateDienstgrad(userId, dienstgrad, updatedBy, dienstgrad_seit, client);
} else if (dienstgrad_seit !== undefined) {
// dienstgrad_seit can be updated independently
rest.dienstgrad_seit = dienstgrad_seit;
(rest as any).dienstgrad_seit = dienstgrad_seit;
}
// Build dynamic SET clause for remaining fields

View File

@@ -1,4 +1,3 @@
import { Server as SocketIOServer } from 'socket.io';
import pool from '../config/database';
import logger from '../utils/logger';
import {
@@ -282,7 +281,7 @@ class VehicleService {
status: FahrzeugStatus,
bemerkung: string,
updatedBy: string,
io?: SocketIOServer
io?: any
): Promise<void> {
try {
// Fetch old status for Socket.IO payload and logging