Freigabe #4
@@ -17,8 +17,8 @@ export class DailyDigestService {
|
|||||||
private readonly mailService: MailService,
|
private readonly mailService: MailService,
|
||||||
private readonly configService: ConfigService,
|
private readonly configService: ConfigService,
|
||||||
) {
|
) {
|
||||||
this.appUrl = this.configService.get<string>('APP_URL', '');
|
this.appUrl = this.configService.get<string>('APP_URL', '').replace(/\/+$/, '');
|
||||||
this.agrarmonitorBaseUrl = this.configService.get<string>('AGRARMONITOR_BASE_URL', '');
|
this.agrarmonitorBaseUrl = this.configService.get<string>('AGRARMONITOR_BASE_URL', '').replace(/\/+$/, '');
|
||||||
}
|
}
|
||||||
|
|
||||||
async sendDigestForUser(userId: string, email: string, preferredUsername?: string) {
|
async sendDigestForUser(userId: string, email: string, preferredUsername?: string) {
|
||||||
|
|||||||
Reference in New Issue
Block a user