Ovarian removal while pregnant

Hi, aim on 24 th week of pregnanacy, 4 days ago had ovarian removal surgery,for now baby is fine, had anyone had surgery on this date?very nervus for baby