fix(basic.gblib): #412 neutralization.
This commit is contained in:
parent
9b1ba47ad9
commit
f52f52d716
1 changed files with 12 additions and 11 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue