summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-04-24 18:37:16 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-04-24 18:37:16 +0200
commit5da7a0f52c934e3e02096feedde39695a785d0fe (patch)
tree962db7e81ec529b315328e361eeea2868479c4b7 /src
parent:bug: fix string (diff)
parent:bug: fix Webhook model (diff)
downloadserver-5da7a0f52c934e3e02096feedde39695a785d0fe.tar.xz
Merge branch 'master' of https://github.com/discord-open-source/discord-server-util
Diffstat (limited to 'src')
-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");