fix
This commit is contained in:
parent
f132446fff
commit
62139c07ed
@ -76,7 +76,6 @@ public class CreatorService {
|
|||||||
public Creator deleteCreator(Long id) {
|
public Creator deleteCreator(Long id) {
|
||||||
final Creator currentCreator = findCreator(id);
|
final Creator currentCreator = findCreator(id);
|
||||||
List<Manga> listManga = currentCreator.getMangas();
|
List<Manga> listManga = currentCreator.getMangas();
|
||||||
findAllMangas();
|
|
||||||
for (Manga manga : listManga){
|
for (Manga manga : listManga){
|
||||||
for (final Reader reader :getReader(manga.getId())){
|
for (final Reader reader :getReader(manga.getId())){
|
||||||
reader.getMangas().remove(manga);
|
reader.getMangas().remove(manga);
|
||||||
|
Loading…
Reference in New Issue
Block a user