remove debugging
This commit is contained in:
@@ -42,7 +42,6 @@ public class IncomeController {
|
|||||||
public ResponseEntity<Income> updateIncome(@RequestBody Income income,
|
public ResponseEntity<Income> updateIncome(@RequestBody Income income,
|
||||||
BindingResult bindingResult) {
|
BindingResult bindingResult) {
|
||||||
if (!bindingResult.hasErrors()) {
|
if (!bindingResult.hasErrors()) {
|
||||||
System.out.println("amount: " + income.getAmount());
|
|
||||||
incomeService.createOrUpdateIncome(income);
|
incomeService.createOrUpdateIncome(income);
|
||||||
return ResponseEntity.ok(income);
|
return ResponseEntity.ok(income);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user