Skip to content

Commit 19c9699

Browse files
authored
Fix connection string format by removing 'grpc://'
1 parent 68fd9a0 commit 19c9699

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/ConnectToDB/snippets.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ import {Driver} from '@ydbjs/core';
131131
import {query} from '@ydbjs/query';
132132
import type {ResultSet} from '@ydbjs/query';
133133
134-
const connectionString = 'grpc://${endpoint ?? '<endpoint>'}${database ?? '/<database>'}';
134+
const connectionString = '${endpoint ?? '<endpoint>'}${database ?? '/<database>'}';
135135
136136
const driver = new Driver(connectionString);
137137

0 commit comments

Comments
 (0)