Breast pump and insurance?

I have 2 insurances. When you get a pump through insurance does it need to be the insurance that the baby will be on, or does it matter?

The baby would be on my secondary which is my husband's but not my primary (which has better coverage). I only looked in to it on my husband's (my secondary) but didn't think about seeing if my primary covers better ones.