Skip to content

Commit db9eac5

Browse files
committed
feat: uncomment/update endpoint after PR #96 merge
1 parent 9c23aaf commit db9eac5

1 file changed

Lines changed: 2 additions & 11 deletions

File tree

src/main/java/br/com/springnoobs/reminderapi/reminder/controller/ReminderController.java

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import br.com.springnoobs.reminderapi.reminder.dto.response.ReminderResponseDTO;
66
import br.com.springnoobs.reminderapi.reminder.service.ReminderService;
77
import jakarta.validation.Valid;
8+
import org.quartz.SchedulerException;
89
import org.springframework.data.domain.Page;
910
import org.springframework.data.domain.PageRequest;
1011
import org.springframework.data.domain.Pageable;
@@ -52,20 +53,10 @@ public ResponseEntity<Void> delete(@PathVariable Long id) {
5253
return ResponseEntity.noContent().build();
5354
}
5455

55-
/*
56-
* Desabilita notificações por email de um reminder.
57-
* Remove todos os triggers agendados no Quartz.
58-
*
59-
* ToDo: Descomentar quando PR #96 (disableReminderNotifications) for mergeado
60-
* Depende de: ReminderService. disableReminderNotifications()
61-
*/
62-
63-
/*
6456
@PatchMapping("/{id}/disable-email")
6557
public ResponseEntity<Void> disableEmail(@PathVariable Long id) throws SchedulerException {
6658
reminderService.disableReminderNotifications(id);
6759
return ResponseEntity.noContent().build();
68-
}
69-
*/
7060

61+
}
7162
}

0 commit comments

Comments
 (0)