We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f7a5bc commit 1af15b1Copy full SHA for 1af15b1
src/domain/usecases/HandleNextReservationUseCase.js
@@ -16,7 +16,7 @@ export class HandleNextReservationUseCase {
16
const passes = await this.passRepository.findAll();
17
const updatedPasses = [];
18
for (const pass of passes) {
19
- if (pass.nextEvent !== nextReservation.code) {
+ if (pass.nextEvent === nextReservation.code) {
20
continue;
21
}
22
0 commit comments