Mail Modul überarbeitet, Korrekturen am PaymentService, neuer customerType seller
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { Body, Controller, Post } from '@nestjs/common';
|
||||
import { User } from 'src/models/db.model';
|
||||
import { ErrorResponse, MailInfo } from '../models/main.model';
|
||||
import { MailService } from './mail.service.js';
|
||||
|
||||
@@ -13,4 +14,8 @@ export class MailController {
|
||||
return this.mailService.sendRequest(mailInfo);
|
||||
}
|
||||
}
|
||||
@Post('subscriptionConfirmation')
|
||||
sendSubscriptionConfirmation(@Body() user: User): Promise<void | ErrorResponse> {
|
||||
return this.mailService.sendSubscriptionConfirmation(user);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user