Skip to content

Commit

Permalink
added trimmed input when starting conversations via url (#1454)
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Wilaby committed Apr 24, 2019
1 parent ccf5c84 commit 014fa59
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/sdk/shared/src/emulatorApi/conversationService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ export class ConversationService {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'X-Emulator-BotEndpoint': endpoint,
'X-Emulator-AppId': appId,
'X-Emulator-AppPassword': appPassword,
'X-Emulator-BotEndpoint': (endpoint || '').trim(),
'X-Emulator-AppId': (appId || '').trim(),
'X-Emulator-AppPassword': (appPassword || '').trim(),
},
body: JSON.stringify({
bot: {
Expand Down

0 comments on commit 014fa59

Please sign in to comment.