diff options
Diffstat (limited to 'src/util/entities/Attachment.ts')
-rw-r--r-- | src/util/entities/Attachment.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/entities/Attachment.ts b/src/util/entities/Attachment.ts index d60ac41c..521be583 100644 --- a/src/util/entities/Attachment.ts +++ b/src/util/entities/Attachment.ts @@ -25,11 +25,11 @@ import { RelationId, } from "typeorm"; import { URL } from "url"; +import { EntityCache } from "../cache"; import { deleteFile } from "../util/cdn"; -import { BaseClass } from "./BaseClass"; @Entity("attachments") -export class Attachment extends BaseClass { +export class Attachment extends EntityCache { @Column() filename: string; // name of file attached |