summary refs log tree commit diff
path: root/src/util/entities/TeamMember.ts
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-03-31 15:26:15 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-03-31 15:26:15 +1100
commit698ad90d3e82a15b85ceb021ad5667109ac0bcdb (patch)
tree7b79fc6d65e79af82b11d89cb1a5502a9f7bff08 /src/util/entities/TeamMember.ts
parentfix: disable cache if multi threaded (diff)
downloadserver-698ad90d3e82a15b85ceb021ad5667109ac0bcdb.tar.xz
Revert "Merge pull request #1008 from spacebarchat/dev/samuel"
This reverts commit 69ea71aa9e0bd2e5a98904a66fba0ad3745707cb, reversing
changes made to 8b2faf0b18336e5dff1eeff4e849bcfd96b09e88.
Diffstat (limited to 'src/util/entities/TeamMember.ts')
-rw-r--r--src/util/entities/TeamMember.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/entities/TeamMember.ts b/src/util/entities/TeamMember.ts
index d2053bb7..539da957 100644
--- a/src/util/entities/TeamMember.ts
+++ b/src/util/entities/TeamMember.ts
@@ -17,7 +17,7 @@
 */
 
 import { Column, Entity, JoinColumn, ManyToOne, RelationId } from "typeorm";
-import { EntityCache } from "../cache";
+import { BaseClass } from "./BaseClass";
 import { User } from "./User";
 
 export enum TeamMemberState {
@@ -26,7 +26,7 @@ export enum TeamMemberState {
 }
 
 @Entity("team_members")
-export class TeamMember extends EntityCache {
+export class TeamMember extends BaseClass {
 	@Column({ type: "int" })
 	membership_state: TeamMemberState;