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 1befb93 commit c0b14b1Copy full SHA for c0b14b1
src/session.ts
@@ -7,13 +7,13 @@ export class Session {
7
apiClient: ApiClient;
8
9
constructor() {
10
- let credentials: ApiClientCredentials | undefined = undefined;
11
- if (config.apiClientId && config.apiClientSecret) {
12
- credentials = {
13
- clientId: config.apiClientId,
14
- clientSecret: config.apiClientSecret,
15
- };
16
- }
+ const credentials: ApiClientCredentials | undefined =
+ config.apiClientId && config.apiClientSecret
+ ? {
+ clientId: config.apiClientId,
+ clientSecret: config.apiClientSecret,
+ }
+ : undefined;
17
18
this.apiClient = new ApiClient({
19
baseUrl: config.apiBaseUrl,
0 commit comments