diff options
author | Samuel (Flam3rboy) <github@samuelscheit.com> | 2023-03-30 18:13:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-30 18:13:34 +0200 |
commit | 69ea71aa9e0bd2e5a98904a66fba0ad3745707cb (patch) | |
tree | 807384e6d19111a4e038113854bb28791814a8c7 /src/util/entities/AuditLog.ts | |
parent | SPACEBAR (diff) | |
parent | feat: add DB_LOGGING env (diff) | |
download | server-69ea71aa9e0bd2e5a98904a66fba0ad3745707cb.tar.xz |
Merge pull request #1008 from spacebarchat/dev/samuel
Diffstat (limited to 'src/util/entities/AuditLog.ts')
-rw-r--r-- | src/util/entities/AuditLog.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/entities/AuditLog.ts b/src/util/entities/AuditLog.ts index e47f92fb..9768ef04 100644 --- a/src/util/entities/AuditLog.ts +++ b/src/util/entities/AuditLog.ts @@ -17,7 +17,7 @@ */ import { Column, Entity, JoinColumn, ManyToOne, RelationId } from "typeorm"; -import { BaseClass } from "./BaseClass"; +import { EntityCache } from "../cache"; import { ChannelPermissionOverwrite } from "./Channel"; import { User } from "./User"; @@ -112,7 +112,7 @@ export enum AuditLogEvents { } @Entity("audit_logs") -export class AuditLog extends BaseClass { +export class AuditLog extends EntityCache { @JoinColumn({ name: "target_id" }) @ManyToOne(() => User) target?: User; |