Fix workspaceLogo in invite-email (#5865)
## Fixes wrong image url in email  ## Done - duplicates and adapt `getImageAbsoluteURIOrBase64` from `twenty-front` in `twenty-email` - send `SERVER_URL` to email builder
This commit is contained in:
@ -119,6 +119,7 @@ export class WorkspaceService extends TypeOrmQueryService<Workspace> {
|
||||
link: inviteLink,
|
||||
workspace: { name: workspace.displayName, logo: workspace.logo },
|
||||
sender: { email: sender.email, firstName: sender.firstName },
|
||||
serverUrl: this.environmentService.get('SERVER_URL'),
|
||||
};
|
||||
const emailTemplate = SendInviteLinkEmail(emailData);
|
||||
const html = render(emailTemplate, {
|
||||
|
||||
Reference in New Issue
Block a user