mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-01-07 03:26:00 +00:00
Fixing test issue
This commit is contained in:
@@ -469,6 +469,10 @@ export default class Explorer {
|
||||
}
|
||||
|
||||
private async generateConversationToken() {
|
||||
if (userContext.databaseAccount === undefined || !userContext.databaseAccount.id === undefined) {
|
||||
console.error("Database account not set");
|
||||
return;
|
||||
}
|
||||
try {
|
||||
const tokenResponse = await this.chatbotClient.getConversationToken();
|
||||
this.conversationToken(tokenResponse?.token);
|
||||
|
||||
Reference in New Issue
Block a user