Pyometra?
Luckily, the surgery is like a spay so the surgeon should be really good at it bc its so common. It will just take the pup longer to bounce back bc the infection will have to be beaten back. Good luck man. Dogs are better than people.
shes home sleeping now, on a bunch of meds and she has a cone to wear for a couple weeks