Skip to content

Commit

Permalink
run lint:fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KSDaemon committed Jan 8, 2025
1 parent c535fcd commit 890c297
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions packages/cubejs-cli/src/command/typegen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,12 @@ const generateQueryTypes = async (apiUrl, { token }) => {
try {
const response = await fetch(
`${apiUrl}/meta`,
{
headers: {
authorization: token,
'Content-type': 'application/json',
}
}
{
headers: {
authorization: token,
'Content-type': 'application/json',
}
}
);
meta = await response.json();
} catch (e: any) {
Expand Down
2 changes: 1 addition & 1 deletion packages/cubejs-clickhouse-driver/src/ClickHouseDriver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ export class ClickHouseDriver extends BaseDriver implements DriverInterface {
},
};

const maxPoolSize = config.maxPoolSize ?? getEnv("dbMaxPoolSize", { dataSource }) ?? 8;
const maxPoolSize = config.maxPoolSize ?? getEnv('dbMaxPoolSize', { dataSource }) ?? 8;

this.client = this.createClient(maxPoolSize);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export class KsqlDBRunner extends DbRunnerAbstract {
method: 'POST',
headers: { Accept: 'application/json' },
body: JSON.stringify({
ksql: "CREATE OR REPLACE STREAM REQUESTS (ID STRING, TIMESTAMP TIMESTAMP, TENANT_ID INTEGER, REQUEST_ID STRING) WITH (KAFKA_TOPIC = 'REQUESTS', KEY_FORMAT = 'JSON', PARTITIONS = 1, REPLICAS = 1, VALUE_FORMAT = 'JSON');",
ksql: 'CREATE OR REPLACE STREAM REQUESTS (ID STRING, TIMESTAMP TIMESTAMP, TENANT_ID INTEGER, REQUEST_ID STRING) WITH (KAFKA_TOPIC = \'REQUESTS\', KEY_FORMAT = \'JSON\', PARTITIONS = 1, REPLICAS = 1, VALUE_FORMAT = \'JSON\');',
streamsProperties: {}
})
});
Expand Down

0 comments on commit 890c297

Please sign in to comment.