forked from trent_larson/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:
@@ -398,52 +398,27 @@ export default class OnboardMeetingView extends Vue {
|
||||
}
|
||||
|
||||
async fetchCurrentMeeting() {
|
||||
console.log("🏗️ DEBUG: fetchCurrentMeeting() called");
|
||||
console.log("🏗️ DEBUG: activeDid =", this.activeDid);
|
||||
console.log("🏗️ DEBUG: apiServer =", this.apiServer);
|
||||
|
||||
try {
|
||||
const headers = await getHeaders(this.activeDid);
|
||||
console.log("🏗️ DEBUG: Headers obtained:", headers);
|
||||
|
||||
const response = await this.axios.get(
|
||||
this.apiServer + "/api/partner/groupOnboard",
|
||||
{ headers },
|
||||
);
|
||||
console.log("🏗️ DEBUG: Meeting response:", response.data);
|
||||
|
||||
const queryPassword = this.$route.query["password"] as string;
|
||||
console.log("🏗️ DEBUG: Query password:", queryPassword);
|
||||
|
||||
if (response?.data?.data) {
|
||||
console.log("🏗️ DEBUG: Meeting found, setting currentMeeting");
|
||||
this.currentMeeting = {
|
||||
...response.data.data,
|
||||
userFullName: this.fullName,
|
||||
password: this.currentMeeting?.password || queryPassword || "",
|
||||
};
|
||||
console.log("🏗️ DEBUG: currentMeeting set:", this.currentMeeting);
|
||||
} else {
|
||||
console.log(
|
||||
"🏗️ DEBUG: No meeting found, setting up blank meeting for creation",
|
||||
);
|
||||
this.newOrUpdatedMeetingInputs = this.blankMeeting();
|
||||
console.log(
|
||||
"🏗️ DEBUG: newOrUpdatedMeetingInputs set:",
|
||||
this.newOrUpdatedMeetingInputs,
|
||||
);
|
||||
}
|
||||
} catch (error: any) {
|
||||
console.log("🏗️ DEBUG: Error fetching meeting:", error);
|
||||
console.log("🏗️ DEBUG: Error response:", error.response?.data);
|
||||
console.log(
|
||||
"🏗️ DEBUG: Setting up blank meeting for creation due to error",
|
||||
);
|
||||
this.newOrUpdatedMeetingInputs = this.blankMeeting();
|
||||
console.log(
|
||||
"🏗️ DEBUG: newOrUpdatedMeetingInputs set:",
|
||||
this.newOrUpdatedMeetingInputs,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user