We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8f1e8a commit f8e3b76Copy full SHA for f8e3b76
src/whatsapp/models/webhook.model.ts
@@ -8,6 +8,7 @@ export class WebhookRaw {
8
enabled?: boolean;
9
events?: string[];
10
webhook_by_events?: boolean;
11
+ webhook_base64?: boolean;
12
}
13
14
const webhookSchema = new Schema<WebhookRaw>({
@@ -16,6 +17,7 @@ const webhookSchema = new Schema<WebhookRaw>({
16
17
enabled: { type: Boolean, required: true },
18
events: { type: [String], required: true },
19
webhook_by_events: { type: Boolean, required: true },
20
+ webhook_base64: { type: Boolean, required: true },
21
});
22
23
export const WebhookModel = dbserver?.model(WebhookRaw.name, webhookSchema, 'webhook');
0 commit comments