forked from jsnbuchanan/crowd-funder-for-time-pwa
Remove DEBUG console.log statements across codebase
- Eliminated all debugging console statements from 7 files (194 deletions) - Fixed parsing errors from broken function calls in databaseUtil.ts - Resolved orphaned console.log parameters in util.ts and ImportAccountView.vue - Maintained legitimate logging in PlatformServiceFactory and registerServiceWorker - Reduced lint issues from 33 problems (11 errors + 22 warnings) to 16 warnings - All builds and core functionality verified working
This commit is contained in:
@@ -616,8 +616,6 @@ export const PlatformServiceMixin = {
|
||||
did?: string,
|
||||
defaults: Settings = {},
|
||||
): Promise<Settings> {
|
||||
console.log("💫 DEBUG: $accountSettings called with:", { did, defaults });
|
||||
|
||||
// Import the working retrieveSettingsForActiveAccount function
|
||||
const { retrieveSettingsForActiveAccount } = await import(
|
||||
"@/db/databaseUtil"
|
||||
@@ -626,18 +624,12 @@ export const PlatformServiceMixin = {
|
||||
try {
|
||||
// Use the working function that properly merges settings
|
||||
const settings = await retrieveSettingsForActiveAccount();
|
||||
console.log(
|
||||
"💫 DEBUG: retrieveSettingsForActiveAccount returned:",
|
||||
settings,
|
||||
);
|
||||
|
||||
// Merge with any provided defaults
|
||||
const mergedSettings = { ...defaults, ...settings };
|
||||
console.log("💫 DEBUG: Final merged settings:", mergedSettings);
|
||||
|
||||
return mergedSettings;
|
||||
} catch (error) {
|
||||
console.log("💫 DEBUG: Error in $accountSettings:", error);
|
||||
logger.error(
|
||||
"[PlatformServiceMixin] Error in $accountSettings:",
|
||||
error,
|
||||
|
||||
Reference in New Issue
Block a user