Bonus Repayment in Another Year

My prior employer paid me a bonus in 2019 but I had to repay it after leaving in 2020.   Although I provided them with a repayment check for the gross amount in 2020, for some reason they chose to hold the check until 2021 at which it point it was deposited.    What year would I need to make adjustments to recoup the prior overpayment of taxes (2020 when repayment check was provided to them, or 2021 when they finally cashed check)?   What steps would I need to take in Turbotax Online to be able to correct the prior overpayment of taxes due to bonus repayment in another year?  Thanks!