We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0de5068 commit 9f68b4aCopy full SHA for 9f68b4a
packages/core/src/auth/auth2.ts
@@ -269,8 +269,9 @@ export class LanguageClientAuth {
269
return this.client.sendRequest(updateProfileRequestType.method, params)
270
}
271
272
- listProfiles() {
273
- return this.client.sendRequest(listProfilesRequestType.method, {}) as Promise<ListProfilesResult>
+ async listProfiles() {
+ const response: string = await this.client.sendRequest(listProfilesRequestType.method, {})
274
+ return await this.decrypt<ListProfilesResult>(response)
275
276
277
/**
0 commit comments