summary refs log tree commit diff
path: root/src/util/entities/Session.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/entities/Session.ts')
-rw-r--r--src/util/entities/Session.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/entities/Session.ts b/src/util/entities/Session.ts
index 6c6f7caa..a03ff114 100644
--- a/src/util/entities/Session.ts
+++ b/src/util/entities/Session.ts
@@ -17,7 +17,7 @@
 */
 
 import { User } from "./User";
-import { BaseClass } from "./BaseClass";
+import { EntityCache } from "../cache";
 import { Column, Entity, JoinColumn, ManyToOne, RelationId } from "typeorm";
 import { Status } from "../interfaces/Status";
 import { Activity } from "../interfaces/Activity";
@@ -25,7 +25,7 @@ import { Activity } from "../interfaces/Activity";
 //TODO we need to remove all sessions on server start because if the server crashes without closing websockets it won't delete them
 
 @Entity("sessions")
-export class Session extends BaseClass {
+export class Session extends EntityCache {
 	@Column({ nullable: true })
 	@RelationId((session: Session) => session.user)
 	user_id: string;