Skip to content

Commit c0b14b1

Browse files
committed
fix: styles
1 parent 1befb93 commit c0b14b1

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/session.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ export class Session {
77
apiClient: ApiClient;
88

99
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-
}
10+
const credentials: ApiClientCredentials | undefined =
11+
config.apiClientId && config.apiClientSecret
12+
? {
13+
clientId: config.apiClientId,
14+
clientSecret: config.apiClientSecret,
15+
}
16+
: undefined;
1717

1818
this.apiClient = new ApiClient({
1919
baseUrl: config.apiBaseUrl,

0 commit comments

Comments
 (0)