Edibles while pregnant

Accidentally ate some skittles edibles and I’m 32weeks pregnant. The package was 500mg, honestly didn’t even know because there was a fruit like tray for a birthday party and had different candies in the circles and nobody said anything about edibles on that side of the Tray☹️ will baby be okay