1
0
mirror of https://github.com/sasjs/adapter.git synced 2025-12-11 01:14:36 +00:00

style: lint

This commit is contained in:
2022-05-09 16:08:49 +02:00
parent f7bd63ee7f
commit 5d2f1d306a

View File

@@ -100,9 +100,7 @@ export class SASjsApiClient {
* @param clientId - the client ID to authenticate with.
* @param authCode - the auth code received from the server.
*/
public async getAccessToken(
authCode: string
): Promise<SASjsAuthResponse> {
public async getAccessToken(authCode: string): Promise<SASjsAuthResponse> {
return getAccessTokenForSasjs(this.requestClient, authCode)
}
@@ -120,10 +118,7 @@ export class SASjsApiClient {
* @param password - a string representing the password.
* @param clientId - the client ID to authenticate with.
*/
public async getAuthCode(
username: string,
password: string,
) {
public async getAuthCode(username: string, password: string) {
return getAuthCodeForSasjs(this.requestClient, username, password)
}
}