We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 552b368 commit 2e259f1Copy full SHA for 2e259f1
src/drivers/utilities.ts
@@ -44,9 +44,9 @@ export function getInitializationCommands(config: SQLiteCloudConfig): string {
44
}
45
46
if (config.apikey) {
47
- commands = `AUTH APIKEY ${config.apikey}; `
+ commands += `AUTH APIKEY ${config.apikey}; `
48
} else {
49
- commands = `AUTH USER ${config.username || ''} ${config.password_hashed ? 'HASH' : 'PASSWORD'} ${config.password || ''}; `
+ commands += `AUTH USER ${config.username || ''} ${config.password_hashed ? 'HASH' : 'PASSWORD'} ${config.password || ''}; `
50
51
52
if (config.database) {
0 commit comments