summary refs log tree commit diff
path: root/src/util/entities/Webhook.ts
diff options
context:
space:
mode:
authorSamuel (Flam3rboy) <github@samuelscheit.com>2023-03-30 18:13:34 +0200
committerGitHub <noreply@github.com>2023-03-30 18:13:34 +0200
commit69ea71aa9e0bd2e5a98904a66fba0ad3745707cb (patch)
tree807384e6d19111a4e038113854bb28791814a8c7 /src/util/entities/Webhook.ts
parentSPACEBAR (diff)
parentfeat: add DB_LOGGING env (diff)
downloadserver-69ea71aa9e0bd2e5a98904a66fba0ad3745707cb.tar.xz
Merge pull request #1008 from spacebarchat/dev/samuel
Diffstat (limited to 'src/util/entities/Webhook.ts')
-rw-r--r--src/util/entities/Webhook.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/entities/Webhook.ts b/src/util/entities/Webhook.ts

index 91498a22..eeabfea5 100644 --- a/src/util/entities/Webhook.ts +++ b/src/util/entities/Webhook.ts
@@ -18,7 +18,7 @@ import { Column, Entity, JoinColumn, ManyToOne, RelationId } from "typeorm"; import { Application } from "./Application"; -import { BaseClass } from "./BaseClass"; +import { EntityCache } from "../cache"; import { Channel } from "./Channel"; import { Guild } from "./Guild"; import { User } from "./User"; @@ -30,7 +30,7 @@ export enum WebhookType { } @Entity("webhooks") -export class Webhook extends BaseClass { +export class Webhook extends EntityCache { @Column({ type: "int" }) type: WebhookType;