Bed level servo motor wiring diagram

Hi, I recently purchased an upbox plus from a friend and the only issue it has is the servo motor for the bed level sensor has come completely disconnected. Looking for a possible picture of which way the wires are meant to be as they are completely broken and I don’t want want to break anything further