fix(azuredeployer): BotExists logic fixed.

This commit is contained in:
Rodrigo Rodriguez 2020-06-19 11:57:43 -03:00
parent 13fdc5a3ff
commit 8eff335e34

View file

@ -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) {