summaryrefslogtreecommitdiff
path: root/packages/db/src/runtime/db-client.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/db/src/runtime/db-client.ts')
-rw-r--r--packages/db/src/runtime/db-client.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/db/src/runtime/db-client.ts b/packages/db/src/runtime/db-client.ts
index ef9a80440..50e1861f4 100644
--- a/packages/db/src/runtime/db-client.ts
+++ b/packages/db/src/runtime/db-client.ts
@@ -36,8 +36,8 @@ const remoteResultSchema = z.object({
});
export function createRemoteDatabaseClient(appToken: string, remoteDbURL: string) {
- if(appToken == null) {
- throw new Error(`Cannot create a remote client: missing app token.`)
+ if (appToken == null) {
+ throw new Error(`Cannot create a remote client: missing app token.`);
}
const url = new URL('/db/query', remoteDbURL);