Fix'NoneType' object has no attribute 'is_government'
@@ -166,7 +166,7 @@ class BotFrameworkHttpClient(BotFrameworkClient):
app_credentials = (
MicrosoftGovernmentAppCredentials(app_id, app_password, scope=oauth_scope)
- if self._credential_provider and self._channel_provider.is_government()
+ if self._channel_provider and self._channel_provider.is_government()
else MicrosoftAppCredentials(app_id, app_password, oauth_scope=oauth_scope)
)
