Skip to content

Commit

Permalink
remove default value for context
Browse files Browse the repository at this point in the history
  • Loading branch information
edolix committed Apr 13, 2022
1 parent c8936d7 commit 80e1477
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/realtime-api/src/messaging/Messaging.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,9 @@ class MessagingAPI extends BaseComponent<RealTimeMessagingApiEvents> {
}

async send(params: MessagingSendParams): Promise<any> {
const { from = '', to = '', context = 'default', ...rest } = params
const { from = '', to = '', ...rest } = params
const sendParams: InternalMessagingSendParams = {
...rest,
context,
from_number: from,
to_number: to,
}
Expand Down

0 comments on commit 80e1477

Please sign in to comment.