Removing unused group for plainToInstance of reservation
This commit is contained in:
parent
0a3e712838
commit
32c82d1ae6
1 changed files with 1 additions and 3 deletions
|
|
@ -32,9 +32,7 @@ export class ReservationsWorker {
|
|||
|
||||
@Process()
|
||||
async handleReservationJob(job: ReservationsJob) {
|
||||
const reservation = plainToInstance(Reservation, job.data.reservation, {
|
||||
groups: ['password'],
|
||||
})
|
||||
const reservation = plainToInstance(Reservation, job.data.reservation)
|
||||
this.loggerService.log('Handling reservation', {
|
||||
reservation: instanceToPlain(reservation),
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue