From 13bd93c31d0bcd3173d7d5c5680b04922124077e Mon Sep 17 00:00:00 2001 From: Steve Gill Date: Wed, 27 May 2020 16:23:22 -0700 Subject: [PATCH] updated incorrect callRejectedEvent type name --- src/types/events/base-events.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/types/events/base-events.ts b/src/types/events/base-events.ts index 8389f48b4..fdadc54be 100644 --- a/src/types/events/base-events.ts +++ b/src/types/events/base-events.ts @@ -11,7 +11,7 @@ export type SlackEvent = | AppHomeOpenedEvent | AppMentionEvent | AppUninstalledEvent - | CallsRejectedEvent + | CallRejectedEvent | ChannelArchiveEvent | ChannelCreatedEvent | ChannelDeletedEvent @@ -160,8 +160,8 @@ export interface AppUninstalledEvent extends StringIndexed { type: 'app_uninstalled'; } -export interface CallsRejectedEvent extends StringIndexed { - type: 'calls_rejected'; +export interface CallRejectedEvent extends StringIndexed { + type: 'call_rejected'; call_id: string; user_id: string; channel_id: string;