mirror of
https://github.com/trevor1969/teatracker.git
synced 2026-08-09 10:41:59 +00:00
Compare commits
1 Commits
f111153bde
...
v2.5
| Author | SHA1 | Date | |
|---|---|---|---|
| c628cf2069 |
2
app.js
2
app.js
@ -279,7 +279,7 @@ class TeeTracker {
|
|||||||
await this.nextcloudStorage.ensureDirectory();
|
await this.nextcloudStorage.ensureDirectory();
|
||||||
|
|
||||||
// Check if old files exist in root directory and migrate to data/ directory
|
// 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 teas = await this.nextcloudStorage.loadFile(DATA_DIRECTORY + 'teas.json');
|
||||||
const entries = await this.nextcloudStorage.loadFile(DATA_DIRECTORY + 'entries.json');
|
const entries = await this.nextcloudStorage.loadFile(DATA_DIRECTORY + 'entries.json');
|
||||||
|
|||||||
Reference in New Issue
Block a user