Clean up dependencies on map delete

This commit is contained in:
Paulo Gustavo Veiga
2022-09-27 18:47:56 -07:00
parent 599bc9ec00
commit 5f26874b47
3 changed files with 14 additions and 7 deletions

View File

@@ -129,7 +129,7 @@ public class AccountController extends BaseController {
}
// Delete labels ....
List<Label> labels = labelService.getAll(user);
final List<Label> labels = labelService.getAll(user);
labels.forEach(l -> {
try {
labelService.removeLabel(l, user);