fix: correct config key for base URL in email services

This commit is contained in:
Ahmed Bouhuolia
2026-02-18 01:28:48 +02:00
parent 17deeb18e3
commit 37fa9f9bc6
2 changed files with 3 additions and 3 deletions

View File

@@ -28,7 +28,7 @@ export class SendInviteUsersMailMessage {
) {
const tenant = await this.tenancyContext.getTenant(true);
const root = path.join(global.__images_dirname, '/bigcapital.png');
const baseURL = this.configService.get('baseURL');
const baseURL = this.configService.get('app.baseUrl');
const mail = new Mail()
.setSubject(`${fromUser.firstName} has invited you to join a Bigcapital`)