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 f076b0b commit 1781bbcCopy full SHA for 1781bbc
package/src/store/QuickSqliteClient.ts
@@ -39,10 +39,10 @@ export class QuickSqliteClient {
39
};
40
41
static closeDB = () => {
42
- const { message, status } = sqlite.open(this.dbName, this.dbLocation);
+ const { message, status } = sqlite.close(this.dbName);
43
44
if (status === DB_STATUS_ERROR) {
45
- console.error(`Error opening database ${this.dbName}: ${message}`);
+ console.error(`Error closing database ${this.dbName}: ${message}`);
46
}
47
48
0 commit comments