When they did the xray did they put a lead blanket over your midsection? A lot of times doctors will do this just to be safe. It's standard practice to ask if there's a chance you could be pregnant. If they did your baby is perfectly safe....even if they didn't your baby should be fine.
I had mouth xrays when i was 8 months pregnant.
When i was pregnant with my second baby the hospital did stomach x-rays and my daughter came out perfectly fine 8 months later.
X-RAY ARE NOT RECOMENDED IN PREGANCY BUT FROM WHAT I HAVE HEARD 1 SHOULD BE OK