diff --git a/electron-app/src/server/websites/megalodon/megalodon.service.ts b/electron-app/src/server/websites/megalodon/megalodon.service.ts index 335483b7..fe106420 100644 --- a/electron-app/src/server/websites/megalodon/megalodon.service.ts +++ b/electron-app/src/server/websites/megalodon/megalodon.service.ts @@ -76,7 +76,10 @@ export abstract class Megalodon extends Website { private async getAndStoreInstanceInfo(profileId: string, data: MegalodonAccountData) { const client = generator(this.megalodonService, data.website, data.token); const instance = await client.getInstance(); - + this.logger.debug("*************"); + this.logger.debug(`Account ID ${profileId}`); + this.logger.debug(instance.data); + this.logger.debug("*************"); this.storeAccountInformation(profileId, INFO_KEY, instance.data); } @@ -199,7 +202,7 @@ export abstract class Megalodon extends Website { submissionPart: SubmissionPart, defaultPart: SubmissionPart, ): ValidationParts { - this.getInstanceSettings(defaultPart.accountId); + this.getInstanceSettings(submissionPart.accountId); const problems: string[] = []; const warnings: string[] = []; @@ -279,7 +282,7 @@ export abstract class Megalodon extends Website { submissionPart: SubmissionPart, defaultPart: SubmissionPart, ): ValidationParts { - this.getInstanceSettings(defaultPart.accountId); + this.getInstanceSettings(submissionPart.accountId); const problems = []; const warnings = [];