Fasting during pregnancy

I was at Emergency Room and they won’t let me eat anything for 12 hours. I was 6 weeks. Should I concern about my baby’s health for not eaten anything at all?