Viktoriia 1 year ago
parent
commit
c02a441156
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/db/index.ts

+ 1 - 1
src/db/index.ts

@@ -51,7 +51,7 @@ export async function openDatabases() {
       );
     }
 
-    const darePlacesDB = await FileSystem.getInfoAsync(sqliteFullPath + DS + nmRegionsDBname, {
+    const darePlacesDB = await FileSystem.getInfoAsync(sqliteFullPath + DS + darePlacesDBname, {
       size: true
     });
     if (!darePlacesDB.exists) {