mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-22 10:22:34 +00:00
🐛 fix Webhook model
This commit is contained in:
1 parent
2c39b659a5
commit
d7cf341320
3 files changed
+4
-2
No files matched your search
@@ -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");
|
||||
Reference in new issue
Block a user