Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Composer/packages/server/src/models/bot/botProject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@ export class BotProject {

public getEnvSettings = async (slot: string, obfuscate: boolean) => {
const settings = await this.settingManager.get(slot, obfuscate);
if (settings && oauthInput().MicrosoftAppId !== OBFUSCATED_VALUE) {
if (settings && oauthInput().MicrosoftAppId && oauthInput().MicrosoftAppId !== OBFUSCATED_VALUE) {
settings.MicrosoftAppId = oauthInput().MicrosoftAppId;
}
if (settings && oauthInput().MicrosoftAppPassword !== OBFUSCATED_VALUE) {
if (settings && oauthInput().MicrosoftAppPassword && oauthInput().MicrosoftAppPassword !== OBFUSCATED_VALUE) {
settings.MicrosoftAppPassword = oauthInput().MicrosoftAppPassword;
}
return settings;
Expand Down