summary refs log tree commit diff
path: root/src/util/entities/Note.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/entities/Note.ts')
-rw-r--r--src/util/entities/Note.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/entities/Note.ts b/src/util/entities/Note.ts
index 196f6861..2005ab0f 100644
--- a/src/util/entities/Note.ts
+++ b/src/util/entities/Note.ts
@@ -17,12 +17,12 @@
 */
 
 import { Column, Entity, JoinColumn, ManyToOne, Unique } from "typeorm";
-import { BaseClass } from "./BaseClass";
+import { EntityCache } from "../cache";
 import { User } from "./User";
 
 @Entity("notes")
 @Unique(["owner", "target"])
-export class Note extends BaseClass {
+export class Note extends EntityCache {
 	@JoinColumn({ name: "owner_id" })
 	@ManyToOne(() => User, { onDelete: "CASCADE" })
 	owner: User;