This commit is contained in:
Katerine881 2023-04-10 17:42:10 +04:00
parent f132446fff
commit 62139c07ed

View File

@ -76,7 +76,6 @@ public class CreatorService {
public Creator deleteCreator(Long id) {
final Creator currentCreator = findCreator(id);
List<Manga> listManga = currentCreator.getMangas();
findAllMangas();
for (Manga manga : listManga){
for (final Reader reader :getReader(manga.getId())){
reader.getMangas().remove(manga);