This commit is contained in:
Bastian Wagner
2026-02-27 15:11:12 +01:00
parent f1680ae07a
commit 026e47cd1b
3 changed files with 14 additions and 6 deletions

View File

@@ -130,7 +130,7 @@ export class ActivityHelperService {
async logCylinderRestored(user: User, cylinder: Cylinder) {
let msg = `Zylinder ${cylinder.name} wiederhergestellt`;
const system: KeySystem = await this.helper.getSystemOCylinder(cylinder);
const system: KeySystem = await this.helper.getSystemOfCylinder(cylinder);
this.activityRepo.save(
this.activityRepo.create({
@@ -142,7 +142,7 @@ export class ActivityHelperService {
async logCylinderCreated(user: User, cylinder: Cylinder) {
const msg = `Zylinder ${cylinder.name} angelegt`;
const system: KeySystem = await this.helper.getSystemOCylinder(cylinder);
const system: KeySystem = await this.helper.getSystemOfCylinder(cylinder);
this.activityRepo.save(
this.activityRepo.create({
system,
@@ -154,7 +154,7 @@ export class ActivityHelperService {
async logCylinderDeleted(user: User, cylinder: Cylinder) {
let msg = `Zylinder ${cylinder.name} gelöscht`;
const system: KeySystem = await this.helper.getSystemOCylinder(cylinder);
const system: KeySystem = await this.helper.getSystemOfCylinder(cylinder);
this.activityRepo.save(
this.activityRepo.create({