diff options
author | 2024-08-28 11:21:37 +0000 | |
---|---|---|
committer | 2024-08-28 11:21:37 +0000 | |
commit | cfbf428643a04f7630e45c59e6d70d77de6673f1 (patch) | |
tree | 8726f3bf68d79d948e25fcb1c7e66c3bce9a100d /packages/db/src/runtime/db-client.ts | |
parent | cb356a5db6b1ec2799790a603f931a961883ab31 (diff) | |
download | astro-cfbf428643a04f7630e45c59e6d70d77de6673f1.tar.gz astro-cfbf428643a04f7630e45c59e6d70d77de6673f1.tar.zst astro-cfbf428643a04f7630e45c59e6d70d77de6673f1.zip |
[ci] format
Diffstat (limited to 'packages/db/src/runtime/db-client.ts')
-rw-r--r-- | packages/db/src/runtime/db-client.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/db/src/runtime/db-client.ts b/packages/db/src/runtime/db-client.ts index 08a68e2e8..d667ecbb2 100644 --- a/packages/db/src/runtime/db-client.ts +++ b/packages/db/src/runtime/db-client.ts @@ -43,10 +43,10 @@ const remoteResultSchema = z.object({ }); type RemoteDbClientOptions = { - dbType: 'studio' | 'libsql', - appToken: string, - remoteUrl: string | URL, -} + dbType: 'studio' | 'libsql'; + appToken: string; + remoteUrl: string | URL; +}; export function createRemoteDatabaseClient(options: RemoteDbClientOptions) { const remoteUrl = new URL(options.remoteUrl); @@ -65,7 +65,7 @@ function createRemoteLibSQLClient(appToken: string, remoteDbURL: URL) { authToken: appToken, url: remoteDbURL.protocol === 'memory:' ? ':memory:' : remoteDbURL.toString(), }); - return drizzleLibsql(client); + return drizzleLibsql(client); } function createStudioDatabaseClient(appToken: string, remoteDbURL: URL) { |