Skip to content

Commit

Permalink
fixed app.py - APP_ID retrieval (#3949)
Browse files Browse the repository at this point in the history
  • Loading branch information
yellalena authored Mar 20, 2024
1 parent 1e259b0 commit 235bc6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/python/16.proactive-messages/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ async def on_error(context: TurnContext, error: Exception):
# If the channel is the Emulator, and authentication is not in use, the AppId will be null.
# We generate a random AppId for this case only. This is not required for production, since
# the AppId will have a value.
APP_ID = SETTINGS.app_id if SETTINGS.app_id else uuid.uuid4()
APP_ID = CONFIG.APP_ID if CONFIG.APP_ID else uuid.uuid4()

# Create the Bot
BOT = ProactiveBot(CONVERSATION_REFERENCES)
Expand Down

0 comments on commit 235bc6e

Please sign in to comment.