Migraine in pregnancy

Patient: Hi, I am 8 weeks pregnant . Yesterday I got a bad migraine which lasted around 8 hours. I had migraines in the past but would use apirin to subside them but I didn’t take any medicine yesterday.Today morning it’s fine. Just wanted to know if it would have harmed my baby? I am also taking progesterone suppositories as I conceived through iui. I am 29 yrs old