fix(basic.gblib): #412 neutralization.

This commit is contained in:
Rodrigo Rodriguez 2024-04-01 13:00:47 -03:00
parent 9b1ba47ad9
commit f52f52d716

View file

@ -114,19 +114,20 @@ export class GBVMService extends GBService {
let writeVBS = true;
const subscription = {
changeType: 'created,updated',
notificationUrl: 'https://webhook.azurewebsites.net/notificationClient',
lifecycleNotificationUrl: 'https://webhook.azurewebsites.net/api/lifecycleNotifications',
resource: '/me/mailfolders(\'inbox\')/messages',
expirationDateTime: '2016-03-20T11:00:00.0000000Z',
clientState: 'SecretClientState'
};
// TODO: #412.
// const subscription = {
// changeType: 'created,updated',
// notificationUrl: 'https://webhook.azurewebsites.net/notificationClient',
// lifecycleNotificationUrl: 'https://webhook.azurewebsites.net/api/lifecycleNotifications',
// resource: '/me/mailfolders(\'inbox\')/messages',
// expirationDateTime: '2016-03-20T11:00:00.0000000Z',
// clientState: 'SecretClientState'
// };
let { baseUrl, client } = await GBDeployer.internalGetDriveClient(min);
// let { baseUrl, client } = await GBDeployer.internalGetDriveClient(min);
await client.api('/subscriptions')
.post(subscription);
// await client.api('/subscriptions')
// .post(subscription);
if (Fs.existsSync(fullVbsFile)) {