From 16abcd726f9bdb8466d3920a055180e3ed72b58c Mon Sep 17 00:00:00 2001 From: ITOH Date: Fri, 21 May 2021 19:15:48 +0200 Subject: [PATCH] fix: CreateWebhook.avatar is optional --- src/types/webhooks/create_webhook.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/webhooks/create_webhook.ts b/src/types/webhooks/create_webhook.ts index 38f823183..5311a4a4f 100644 --- a/src/types/webhooks/create_webhook.ts +++ b/src/types/webhooks/create_webhook.ts @@ -2,5 +2,5 @@ export interface CreateWebhook { /** Name of the webhook (1-80 characters) */ name: string; /** Image for the default webhook avatar */ - avatar: string | null; + avatar?: string | null; }