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; let writeVBS = true;
const subscription = { // TODO: #412.
changeType: 'created,updated', // const subscription = {
notificationUrl: 'https://webhook.azurewebsites.net/notificationClient', // changeType: 'created,updated',
lifecycleNotificationUrl: 'https://webhook.azurewebsites.net/api/lifecycleNotifications', // notificationUrl: 'https://webhook.azurewebsites.net/notificationClient',
resource: '/me/mailfolders(\'inbox\')/messages', // lifecycleNotificationUrl: 'https://webhook.azurewebsites.net/api/lifecycleNotifications',
expirationDateTime: '2016-03-20T11:00:00.0000000Z', // resource: '/me/mailfolders(\'inbox\')/messages',
clientState: 'SecretClientState' // 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') // await client.api('/subscriptions')
.post(subscription); // .post(subscription);
if (Fs.existsSync(fullVbsFile)) { if (Fs.existsSync(fullVbsFile)) {