diff --git a/client/lib/version.ts b/client/lib/version.ts index 0e4dddc..55c18ca 100644 --- a/client/lib/version.ts +++ b/client/lib/version.ts @@ -3,7 +3,6 @@ declare const __APP_VERSION__: string; export const APP_VERSION = __APP_VERSION__; -export const APP_NAME = 'Bill Tracker'; export interface ReleaseHighlight { icon: string; diff --git a/routes/about.js b/routes/about.js index 77e1c35..4263caa 100644 --- a/routes/about.js +++ b/routes/about.js @@ -6,7 +6,7 @@ try { pkg = require('../package.json'); } catch { pkg = { version: '0.1.0' }; } router.get('/', (req, res) => { res.json({ - name: 'BillTracker', + name: 'Bill Tracker', version: pkg.version, description: 'A self-hosted app for tracking recurring bills, monthly payments, due dates, categories, and personal bill history.', stack: { diff --git a/services/userDbImportService.js b/services/userDbImportService.js index 2146433..c98d224 100644 --- a/services/userDbImportService.js +++ b/services/userDbImportService.js @@ -107,7 +107,7 @@ function normalizeName(value) { function parseMetadata(src) { const row = src.prepare("SELECT value FROM export_metadata WHERE key = 'metadata_json'").get(); if (!row?.value) { - throw importError(400, 'SQLite file is not a BillTracker user data export.', 'USER_DB_IMPORT_NOT_USER_EXPORT'); + throw importError(400, 'SQLite file is not a Bill Tracker user data export.', 'USER_DB_IMPORT_NOT_USER_EXPORT'); } let metadata; try { @@ -249,7 +249,7 @@ function readExportData(src) { const names = tableNames(src); const missing = REQUIRED_TABLES.filter(t => !names.has(t)); if (missing.length) { - throw importError(400, 'SQLite file is not a supported BillTracker user export.', 'USER_DB_IMPORT_UNSUPPORTED_SCHEMA', missing.map(table => ({ + throw importError(400, 'SQLite file is not a supported Bill Tracker user export.', 'USER_DB_IMPORT_UNSUPPORTED_SCHEMA', missing.map(table => ({ table, message: 'Required user export table is missing', })));