Skip to content

Commit

Permalink
fix(basic.gblib): #412 neutralization.
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigorodriguez committed Apr 1, 2024
1 parent 9b1ba47 commit f52f52d
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions packages/basic.gblib/services/GBVMService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
};

let { baseUrl, client } = await GBDeployer.internalGetDriveClient(min);
// 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);

await client.api('/subscriptions')
.post(subscription);
// await client.api('/subscriptions')
// .post(subscription);


if (Fs.existsSync(fullVbsFile)) {
Expand Down

0 comments on commit f52f52d

Please sign in to comment.