fix: updated init whitelabel settings (#12567)

This commit is contained in:
Devanshu Gupta 2025-04-14 13:58:25 +05:30 committed by GitHub
parent 7ef433175e
commit b9303fa4ab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -183,8 +183,8 @@ export class EmailService implements IEmailService {
async init(organizationId?: string | null) {
const whiteLabelSettings = await this.emailUtilService.retrieveWhiteLabelSettings(organizationId);
this.SMTP = await this.emailUtilService.retrieveSmtpSettings();
this.WHITE_LABEL_TEXT = whiteLabelSettings?.text;
this.WHITE_LABEL_LOGO = whiteLabelSettings?.logo;
this.WHITE_LABEL_TEXT = whiteLabelSettings?.white_label_text;
this.WHITE_LABEL_LOGO = whiteLabelSettings?.white_label_logo;
this.defaultWhiteLabelState = whiteLabelSettings?.default;
}