Fix GetConnection (#19579)

This commit is contained in:
Charles Gagnon
2022-05-31 21:32:44 -07:00
committed by GitHub
parent eb2cd6238f
commit 41a3c8661c
6 changed files with 27 additions and 25 deletions

View File

@@ -96,7 +96,7 @@ export class MainThreadConnectionManagement extends Disposable implements MainTh
}
public $getConnection(uri: string): Thenable<azdata.connection.ConnectionProfile> {
let profile = this._connectionManagementService.getConnection(uri);
const profile = this._connectionManagementService.getConnectionProfile(uri);
if (!profile) {
return Promise.resolve(undefined);
}