Make resource parameter optional for getSecurityToken API (#3322)

This commit is contained in:
Matt Irvine
2018-11-27 16:12:30 -08:00
committed by GitHub
parent 4c075df327
commit 087ed7c132
3 changed files with 9 additions and 4 deletions

View File

@@ -97,7 +97,7 @@ export function createApiFactory(
getAllAccounts(): Thenable<sqlops.Account[]> {
return extHostAccountManagement.$getAllAccounts();
},
getSecurityToken(account: sqlops.Account, resource: sqlops.AzureResource): Thenable<{}> {
getSecurityToken(account: sqlops.Account, resource?: sqlops.AzureResource): Thenable<{}> {
return extHostAccountManagement.$getSecurityToken(account, resource);
},
onDidChangeAccounts(listener: (e: sqlops.DidChangeAccountsParams) => void, thisArgs?: any, disposables?: extHostTypes.Disposable[]) {