File tree Expand file tree Collapse file tree
src/main/java/br/com/springnoobs/reminderapi/reminder/controller Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55import br .com .springnoobs .reminderapi .reminder .dto .response .ReminderResponseDTO ;
66import br .com .springnoobs .reminderapi .reminder .service .ReminderService ;
77import jakarta .validation .Valid ;
8+ import org .quartz .SchedulerException ;
89import org .springframework .data .domain .Page ;
910import org .springframework .data .domain .PageRequest ;
1011import 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}
You can’t perform that action at this time.
0 commit comments