I cannot accept an assignment from GitHub classroom

I’ve been given an assignment that requires me to click a link and accept my assignment on GitHub classroom.
I click the assignment and it says I have accepted it but the repository is not showing up on my account.
This is what the page reads:
You accepted the assignment, HW2.

Your assignment repository has been created:

https://github.com/cbu-csds/hw2. When I click the link to my assignment, I get a 404 error.

I believe the assignments are being linked to an old github classroom that I created and deleted.
The assignment URL itself is not what it should be.
It should be https://github.com/cbu-EGR227-sp21/hw2 as provided by my professor.
How can I fix this?