Flucanazole in 2nd trimester?

I'm 20 weeks pregnant and one of my test came back that I had yeast my on prescribed me a one time dose of 150mg of flucanzole and I took it at 19 w 4days today I read something that it causes miscarriages and I'm freaking out. Did anyone else take a one time dose and baby was okay?