1 Commits

2
app.js
View File

@ -279,7 +279,7 @@ class TeeTracker {
await this.nextcloudStorage.ensureDirectory();
// Check if old files exist in root directory and migrate to data/ directory
await this.migrateToDataDirectory();
await this.nextcloudStorage.migrateToDataDirectory();
const teas = await this.nextcloudStorage.loadFile(DATA_DIRECTORY + 'teas.json');
const entries = await this.nextcloudStorage.loadFile(DATA_DIRECTORY + 'entries.json');