Skip to content

Commit

Permalink
fix(azuredeployer): BotExists logic fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigorodriguez committed Jun 19, 2020
1 parent 13fdc5a commit 8eff335
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ export class AzureDeployerService implements IGBInstallationDeployer {
const req = AzureDeployerService.createRequestObject(url, accessToken, 'POST', JSON.stringify(body));
const res = await httpClient.sendRequest(req);

return res.parsedBody.valid;
return !res.parsedBody.valid;
}

public async updateBotProxy(botId, group, endpoint) {
Expand Down

0 comments on commit 8eff335

Please sign in to comment.