Should hope so. They fucked up and OP took the heat. Least they could do.
HR isn't your friend. It's there to protect the company, not you. This doesn't mean they will protect you too, as shown by this example. It means they will make sure the company does what it wants to do in such a way that it doesn't get into trouble for it. If the company is Henry VIII, HR is Thomas Cromwell. It's not your friend just because it's trying to keep the firm out of trouble.
Despite what angry and abusive HR professionals have made up on this thread, I've never been in trouble at work, suspended, managed out, fired, put on a performance plan or anything like that. I did once quit a truly shit job two weeks in and HR fucked up every bit of paperwork it could; luckily it didn't affect the job I got the next week. And I've had HR harass me about legitimate sick leave, with a medical note, pretending that it just wanted to be supportive. It's the duplicity that gets me.
I've just worked in a number of places and it's the same absolutely everywhere. Their job is to protect the company while pretending they're protecting you. The consequences are inevitable.
Had no idea it was controversial, to be honest. Management and Human Remains, who on earth thinks they're widely considered to be blessings of modern life?