Cat's Lair Electric's

bought a cats lair but the electrics dont work still has the small white connector but the wires have come out is it possible to fix