If my 2020 tax return was rejected and I am still in the process of fixing it will my 2019 tax return be used to calculate my stimulus check?

If my 2020 tax return was rejected and I am still in the process of fixing it will my 2019 tax return AGI be used to calculate my stimulus check?