diff --git a/src/domain/usecases/HandleNextReservationUseCase.js b/src/domain/usecases/HandleNextReservationUseCase.js index 5f609aa..e33b3b9 100644 --- a/src/domain/usecases/HandleNextReservationUseCase.js +++ b/src/domain/usecases/HandleNextReservationUseCase.js @@ -16,7 +16,7 @@ export class HandleNextReservationUseCase { const passes = await this.passRepository.findAll(); const updatedPasses = []; for (const pass of passes) { - if (pass.nextEvent !== nextReservation.code) { + if (pass.nextEvent === nextReservation.code) { continue; }