Skip to content

A modern, self-hosted backup solution for secure, encrypted backups across local and cloud storage.

chore: facilitate device setting shape change for main device db entry

towfiqi9d1885841448
diff --git a/backend/src/utils/initSetup.ts b/backend/src/utils/initSetup.ts
index 15c1866..85fad3b 100644
--- a/backend/src/utils/initSetup.ts
+++ b/backend/src/utils/initSetup.ts
@@ -101,7 +101,7 @@ async function createMainDevice(db: BetterSQLite3Database) {
},
status: 'active',
lastSeen: new Date(),
- settings: { tempDir },
+ settings: { general: { tempDir } },
});
}
}