summary refs log tree commit diff
path: root/src/models/Webhook.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-04-24 14:30:48 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-04-24 14:30:48 +0200
commitd7cf341320fb2e1af5d1e40e67c2fed2d65d3a5c (patch)
treef6767f1668a77dddb51d23bc63b4adc74c57dd11 /src/models/Webhook.ts
parent:art: String trimSpecial pass string OR undefined (diff)
downloadserver-d7cf341320fb2e1af5d1e40e67c2fed2d65d3a5c.tar.xz
:bug: fix Webhook model
Diffstat (limited to 'src/models/Webhook.ts')
-rw-r--r--src/models/Webhook.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/models/Webhook.ts b/src/models/Webhook.ts

index 4660686d..7379e98f 100644 --- a/src/models/Webhook.ts +++ b/src/models/Webhook.ts
@@ -80,4 +80,5 @@ WebhookSchema.virtual("source_channel", { WebhookSchema.set("removeResponse", ["source_channel_id", "source_guild_id"]); +// @ts-ignore export const WebhookModel = db.model<WebhookDocument>("Webhook", WebhookSchema, "webhooks");