You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue was discovered while trying to use OAuth + Streaming (specifically DL ASE), though directLine.getSessionId may be falsey, the return values should have the same type.
Possible fix:
One solution is to return Promise.resolve(value); instead of return value;
Line 118 returns a Promise, but line 125 returns a string or undefined:
BotFramework-WebChat/packages/component/src/Composer.js
Lines 108 to 125 in 906de77
This causes an exception in
createDefaultCardActionMiddleware()
where it expects getSignInUrl to return a Promise:BotFramework-WebChat/packages/component/src/Middleware/CardAction/createCoreMiddleware.js
Lines 75 to 79 in b47cdac
This issue was discovered while trying to use OAuth + Streaming (specifically DL ASE), though
directLine.getSessionId
may be falsey, the return values should have the same type.Possible fix:
One solution is to
return Promise.resolve(value);
instead ofreturn value;
FYI @jiruss, @DDEfromOR, @ckkashyap, @anusharavindrar
The text was updated successfully, but these errors were encountered: