1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-11 13:14:06 +01:00
This commit is contained in:
Flam3rboy 2021-04-24 18:37:16 +02:00
commit 5da7a0f52c

View File

@ -80,4 +80,5 @@ WebhookSchema.virtual("source_channel", {
WebhookSchema.set("removeResponse", ["source_channel_id", "source_guild_id"]); WebhookSchema.set("removeResponse", ["source_channel_id", "source_guild_id"]);
// @ts-ignore
export const WebhookModel = db.model<WebhookDocument>("Webhook", WebhookSchema, "webhooks"); export const WebhookModel = db.model<WebhookDocument>("Webhook", WebhookSchema, "webhooks");