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;
 | 
					    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)) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue