I came home today and I went to go feed Daisy and in her bowl was 4 maggots!

I give her new food everyday and I don't know how it happened. Maybe because of the heat, it was horrable.
I was just wondering if it is bad that she ate one. I didn't see her do it but I assume because they were in her food bowl and the food was almost gone she could have ate one. I mix dry and wet food together.
Thanks for your help