If I repaid 6k overpayment to unemployment for wages in 2021, but paid in Jan 2022 when I found out, do I put on 2021 or 2022 taxes?

My 1099G was sent for 2021 before I knew I had to repay, so it is incorrect.  I paid back the amount in Jan of 2022.