If you used the wrong AGI, your e-file will be rejected. When you get the rejection notice, correct it and re-file.
https://ttlc.intuit.com/community/agi/help/where-do-i-correct-my-agi-in-turbotax-online/00/26311